you can also store it in hidden fields, like

<INPUT type=hidden name=hidayet value="<%=username%>">

this is just an alternative to session object of course :)

> -----Original Message-----
> From: Namitha Pai N [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 10, 2001 2:45 PM
> To: [EMAIL PROTECTED]
> Subject: how to maintain state?
>
>
> what is the best method to maintain state in jsp pages?? I
> actually need
> to get the userinfo in the logon page and use it in subsequent pages.
>
> Regards,
> Namitha Pai
>
> ==============================================================
> =============
> 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

Reply via email to