Hi Martin,
If you want to pass the parameters of the same jsp, you have post the from action
into same jsp only, then you can get all parameters, what you are passing...

i hope it's like this..

test.jsp

<html>
<body>
<form name="samp" action=test.jsp>
<input type="test" name="Fname">
<input type="password" name="pass">
<input type="submit" value="GO">
<br>
<%
if(request.getParameter("Fname")!=null)
{
%>
    <%=request.getParameter("Fname")%>
    <%=request.getParameter("pass")%>
<%
}
%>
</body>
</html>

I hope this will help you...

Murali.




Martin Nwalal wrote:

> Hi,
>
> How  Can I pass  parameters   from form link to jsp where form and jsp are
> in the same file .
> thanks for help
> Martin
>
> ===========================================================================
> 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