You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Patric Lichtensteiger <pl...@wbe.ch> on 2001/01/05 08:56:18 UTC

forward and post

hi there,

i got a question about jsp and the html-post-method...

in an actual jsp i use a bean like this:
"<jsp:useBean id="credentials" class="com.instantjsp.UserCredentials"
scope="session" />"

so, this jsp is a form, that means i use the post-method and send it to
another jsp that calls a query with a servlet. but i always recieve a
NullPointerException.

i know that the <forward>-tag sends all bean to an other jsp, but does it
post?
or in other words: how can i work with forms and handle my session-beans?

greets
cybergoth