Daniel Wieselberg wrote:

You need to change this:

>
> <%! User u = new User(request, response); %>
>

to this:

    <% User u = new User(request, response); %>

instead, and it will work fine.  The <%! %> gadget creates an instance
variable in the class, outside of any method.  Of course, the request and
response objects are not available at that moment.  The latter construction
creates a new local variable inside the generated service() method, and
everything is cool.


> // Daniel
>

Craig McClanahan

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
For JSP FAQ, http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to