June 2012
Intermediate to advanced
386 pages
10h 7m
English
There are various ways to fetch and set information through JSP. Let us consider an example which highlights various ways to retrieve information.
Fig. 6.10 UserBee - Index.jsp—Form to accept user name
It accepts a user name for which to snoop into. The control passes on to LoginServlet (line-12). Let's take a look into that Servlet.
Only the doPost method is included in the code listing shown in Figure 6.11, since other methods are not used. Nothing unusual about the code listing except that there is a reference to a Java Class (line 6), which is a Java Bean class. A Java Bean is a plain java class conforming to some ...
Read now
Unlock full access