> The line I was trying to use is:
>
> <jsp:setProperty name="Book" property="*"/>
>
> Since this hasn't worked I have had to explicitly set the parameters
> individually with lines like:
>
> Book.setUsername(request.getParameter("Username"));

I'm not sure in this matter, put sometimes the JSP/Servler API can be a
bit poky. Try to use lower case letters in the parameter name BUT keep
the upper case in the method name.

1. Change you form <input name="User" ...> to <input name="user" ...>
2. Try with Book.setUsername(request.getParameter("username")); // Note
case
3. Try if <jsp:setProperty name="Book" property="*"/> works

Good luck.

/Mattias Jiderhamn
 [EMAIL PROTECTED]

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to