Hi erveryone,

Can any one help me.

I am working on a jsp application.
On the login page if someone enters valid loing, I need to pass a variable
to next page. How I can do that.

I tried

request.setAttribute("Varaible","Y");
sessiont.setAttribute("Varaible","Y");
<jsp:forward page="file.jsp?Variable=Y">

on the next page

request.getAttribute("Varaible");
sessiont.gettAttribute("Varaible");

But I am getting lot of errors

I am using IBM's WebSphere.

Thanks for help.

===========================================================================
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