Hi,
Do you know how i can access the following form, which is in a simple html page.
<form method="post" ACTION=" name="upform" ENCTYPE='multipart/form-data'>
<p>
<input type="textarea" name="textarea" value="Find in Jsp">
<input type="submit" name="Submit" value="Submit">
<input type="hidden" name="action" value="upload">
</form>
this is my jsp test page.
<%@page language="java" %><%
String filename=request.getParameter("upform.textarea"); // also tried request.getParameter("textarea") //form //upload;
out.println("Try to get text area " + filename);
%>
No luck whatsoever.
Thanks for any help.
Do you know how i can access the following form, which is in a simple html page.
<form method="post" ACTION=" name="upform" ENCTYPE='multipart/form-data'>
<p>
<input type="textarea" name="textarea" value="Find in Jsp">
<input type="submit" name="Submit" value="Submit">
<input type="hidden" name="action" value="upload">
</form>
this is my jsp test page.
<%@page language="java" %><%
String filename=request.getParameter("upform.textarea"); // also tried request.getParameter("textarea") //form //upload;
out.println("Try to get text area " + filename);
%>
No luck whatsoever.
Thanks for any help.