It should last to the next page where it will be displayed. Would a
"request" be the best choice?

What if I wanted to persist my results for more than one user, to save the
round trips to the all the way back to the webserver->EJB->database?

julian


>From: Kevin Jones <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
>     reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: MVC Architecture and JSP
>Date: Thu, 18 Jan 2001 21:02:03 -0000
>
>How long should the data last?
>Is it used only by one user or multiple users?
>Could you put it into a database?
>
>Kevin Jones
>DevelopMentor
>www.develop.com
>
> > -----Original Message-----
> > From: A mailing list about Java Server Pages specification and reference
> > [mailto:[EMAIL PROTECTED]]On Behalf Of julian sitkewich
> > Sent: 18 January 2001 19:58
> > To: [EMAIL PROTECTED]
> > Subject: MVC Architecture and JSP
> >
> >
> > I pose a question, in the MVC (Model-View-Controller) architecture
> > information is commonly passed between servlet and JSP via session. This
> > seems to go against certain principles of server overhead and memory
> > consumption. My example is this: A servlet creates a HUGE Vector
> > object of a
> > company department directory list. The request is forwarded to the JSP
>to
> > list the contents of the Vector. Is there a better way than to store my
> > large Vector in the user Session??
> >
> > Regards,
> >
> > Julian
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at http://explorer.msn.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://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
>
>===========================================================================
>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

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.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://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