My controller is a JSP. I want to show the result on another page. ( I stick
to Model 1 - How this is done ? Is there any object with request scope ?



-----Original Message-----
From: BootedBear [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 9:42 PM
To: [EMAIL PROTECTED]
Subject: Re: A JSP Question - model 1 architecture


It depends how you are chaining from the controller to the page. If you are
forwarding from the controller servlet (I'm assuming that your controller
is a servlet) you can set the Vector into the request as an attribute and
retrieve it in the JSP page. If you are redirecting, the JSP page will have
a new request and you cannot do that. In that case you will need to store
the servlet at application scope or in a session.

hth,
bear

===========================================================================
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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===========================================================================
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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to