What would you think of a solution where you would have :
- a class representing your set of items
- a bean that would contain a vector of objects of this new class
On the first page, you initialize your bean. Then page after a page, you add an
element to your vector.
In this case, all the data are on the server and do not travel on the network. You
just have to manage the end of the session in case of inactivity on the client
side.
Marie-Jo
Ashutosh Bhardwaj wrote:
> hi,
> i have a jsp with one text field and two buttons
> one "submit" and one "more".
> after entering the value when i press more button the
> field gets cleared and the value in the field should
> be stored somewhere say a java or javascript using
> javascript.
> on pressing submit i have to pass the contents of
> array in request .how can i do that?
> for simplicity i am asking for one field but actually
> i have one full record consisting of many fields,so
> the solution must be given keeping that in mind.
>
> thanks in advance,
> ashutosh
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.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