Very simple,
Re-write the URL within your HTML page as:
path_to_myJsp/myJsp.jsp?parameter1=value1¶meter2=value2.....
Or you can send the parameter as a hidden form variable within a form:
<form action="path_to_myJsp/myJsp.jsp" method=bla bla bla >
<input type="hidden" name="parameter1" value="value1" />
<input type="hidden" name="parameter2" value="value2" />
</form>
There are several other ways which you can find in any basic jsp tutorial.
-----Original Message-----
From: Lorena Carlo [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 28, 2000 12:41 PM
To: [EMAIL PROTECTED]
Subject: How can I send parameters from an html to a jsp
Hi all,
Can you tell me how can I send parameters from an html to a jsp, I was
trying to do the same code that I use to send parameters from a jsp to a jsp
but it doesn't work.
Please help me, thanks in advance
Lorena Carlo
===========================================================================
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