Yes, I know if i put it into a bean, that will work, but I just want to know
that
which way is good? using bean or using hidden value?


----- Original Message -----
From: "Donald Vandenbeld" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 07, 2000 3:05 PM
Subject: Re: passing value


> Actually, if info.jsp puts the information in a bean/hashtable,
> disclaimer.jsp doesn't need to interact with the data at all...  The bean
> (if it's a session or application scope) will still be hanging around when
> the servlet gets run.
>
> Donald
>
> ----- Original Message -----
> From: "Louis" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, July 07, 2000 4:38 AM
> Subject: passing value
>
>
> >
> >
> > Hi,
> >   For example, I have one jsp page allow user enter the personal info
> > (info.jsp) and another is disclamer page (disclamer.jsp).  When the user
> > click submit in the info.jsp it will goto the disclamer.jsp, and if the
=
> > user
> > click agree in the disclamer.jsp, then it will pass it to the servlet to
> > process.
> >   Please tell me how to pass all the value from the info.jsp to
> > disclamer.jsp and to servlet.
> >   I think I can create a bean or a hash table in the disclamer.jsp, get
=
> > all
> > the value from the info.jsp and store it to the bean or hash table, and
=
> > set
> > into the session and pass to the servlet.  But I don't think this is a =
> > good
> > way to do this, bcos if i do it like that, i need to put many java code
=
> > in
> > disclamer.jsp.
> >
> >   Anyone can please suggest a good way to me.  Thank you.
> >
> >
> >
> > louis
> >
> >
>
===========================================================================
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > 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".
> 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".
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