Hi!!!
firstly the syntax is request.getParameter("login") and not
request.getparameter("login")
secondly though this is very simple still i'll ask u to check the parameter
names and cases (upper case or lower case).
Louis <[EMAIL PROTECTED]> on 07/07/2000 08:20:29 PM
Please respond to A mailing list about Java Server Pages specification and
reference <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Kher Tamanna-SWD-ITIL-UB/Itilmail)
Subject: Re: passing value
i got problem, the request.getparameter("login") give me null value.
the login page is JSP page, is it the problem of this?
How to do now?
Louis
----- Original Message -----
From: "Tamanna Kher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 07, 2000 11:28 AM
Subject: Re: passing value
> the easiest way out is that once ur login page is submitted all the
values
> wil be passed in the disclaimer page which then will call the servlets.
o
> on disclaimer page u can store the values in the hidden variables. and
when
> u submit this page too then ur values will automatically be submitted to
> the servlet.
>
> For eg:
>
> ur variables in the login page:
> loginName
> loginPassword
>
> on disclaimer page
> <form>
> ...
> ...
> ...
> ...
>
> <input type="hidden" name="login" value="<%
> request.getParameter("loginName") %>" >
> <input type="hidden" name="pass" value="<%
> request.getParameter("loginPassword") %>" >
>
> and in the servlet u can get these variables.
>
> Hope his is of some help to u
>
> regards,
> Tamanna
>
>
>
>
>
>
> Louis <[EMAIL PROTECTED]> on 07/07/2000 04:37:13 PM
>
> Please respond to A mailing list about Java Server Pages specification
and
> reference <[EMAIL PROTECTED]>
>
> To: [EMAIL PROTECTED]
> cc: (bcc: Kher Tamanna-SWD-ITIL-UB/Itilmail)
>
> 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
===========================================================================
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