pro_jsp thread: passing Objects from JSP to Servlets
Hi,
Im instantiating a class using the tag
<jsp:useBean id="myClass" scope="session" class="theClass" />
Now in my jsp I'm going to set some properties of my object that Ive just
created, but how can I pass this object onto a servlet that I forward
(using RequestDispatcher) from this JSP to.
I know you can use the request.setAttribute("class", myClass)
but is there any other way ???
Cheers
|





