Description: that no output is generated to be
sent back to the client browser. Instead, it finds the horoscope from the information
provided by the client, and then forwards that to another servlet called
GiveHoroscopeToAnotherServlet providing the name and the horoscope in the
request object, which then outputs the information back to the client browser.Write a JavaBean called PersonalDetailsBean that holds the name, gender
(female, male) and Zodiac sign of a person. The person’s gender is held as a boolean,
the sign of the Zodiac is held as an int between 1 and 12 inclusive, and the first name
is held as a String.The JSP extracts the person’s details from the
PersonalDetailsBean and outputs the horoscope according to the same rules.
Show the changes to the servlet.
To Search:
File list (Check if you may need any files):
HelloProject\horoscope.html
............\lab4.html
............\output.jsp
............\runhello.html
............\WEB-INF\bat_file.txt
............\.......\classes\web\GiveHoroscopeServletToAnotherServlet.class
............\.......\.......\...\HelloWorld.class
............\.......\.......\...\HoroscopeServlet.class
............\.......\.......\...\PersonalDetailsBean.class
............\.......\.......\...\SimpleHoroscopeServlet.class
............\.......\.......\...\SimpleHoroscopeServlet2.class
............\.......\commands.bat
............\.......\horocommands.bat
............\.......\lab.bat
............\.......\labcommands.bat
............\.......\src\model\PersonalDetailsBean.java
............\.......\...\web\GiveHoroscopeServletToAnotherServlet.class
............\.......\...\...\GiveHoroscopeServletToAnotherServlet.java
............\.......\...\...\HelloWorld.class
............\.......\...\...\HelloWorld.java
............\.......\...\...\HoroscopeServlet.class
............\.......\...\...\HoroscopeServlet.java
............\.......\...\...\HoroscopeServlet_lab2.txt
............\.......\...\...\PersonalDetailsBean.class
............\.......\...\...\PersonalDetailsBean.java
............\.......\...\...\SimpleHoroscopeServlet.class
............\.......\...\...\SimpleHoroscopeServlet.java
............\.......\...\...\SimpleHoroscopeServlet2.class
............\.......\...\...\SimpleHoroscopeServlet2.java
............\.......\web.xml
............\.......\web_part1.xml
............\.......\web_part2.xml
............\.......\classes\web
............\.......\src\model
............\.......\...\web
............\.......\classes
............\.......\src
............\WEB-INF
HelloProject