Hi,
simply use:
<Input type="hidden" name="login field name" value="login name value">
u will get the value at next page as : request.getParameter("login field
name");
Hamid Hassan
VSDI
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Modassir Sattar
Sent: Tuesday, November 07, 2000 12:47 AM
To: [EMAIL PROTECTED]
Subject:
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
===========================================================================
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