Hi,
I try to call a JSP from an Applet...
I 'd like to know how to throw parameters to the JSP page.
I succeed by writing the parameter in the URL
adr = new URL("http://localhost:8080/testparam.jsp?param=leParametre");
and in JSP I catch it with:
<%= request.getParameter("param") %> => return: leParametre OK !
But I thought I could put a parameter in the http request like:
connection = adr.openConnection();
connection.setRequestProperty("attribut","L'attribut");
and in JSP catch it with:
<%= request.getAttribute("attribut") %> => return: null :-((
but it doesn't work...
Someone can help me ?
Thanks,
Francois
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html