C
Charlie
Hi
I have two jsp files and I want have the value inputted in the first
one to be passed to the second one, but somehow I always received
"null" value. Can someone tell me why ?
Here are the hightlights of my jsp files.
===========
Upload.jsp
===========
....
<FORM name="fileform" ACTION="/Test/jsp/UploadText.jsp"
ENCTYPE="multipart/form-data" METHOD=POST>
<b>Maximum Uploaded File:</b><INPUT type="text" name="MaxFile"
value="100" size=2><b>M</b><br><br>
<b>File Name: </b><INPUT TYPE=FILE NAME="uploadfile"
SIZE=20><b
r><br>
<INPUT NAME="Upload" TYPE=SUBMIT VALUE="Upload" size=30>
</FORM>
....
==============
UploadText.jsp
==============
....
<%
String Max = request.getParameter("MaxFile");
out.println("The Maximum file size is " + Max);
%>
....
=================
I have two jsp files and I want have the value inputted in the first
one to be passed to the second one, but somehow I always received
"null" value. Can someone tell me why ?
Here are the hightlights of my jsp files.
===========
Upload.jsp
===========
....
<FORM name="fileform" ACTION="/Test/jsp/UploadText.jsp"
ENCTYPE="multipart/form-data" METHOD=POST>
<b>Maximum Uploaded File:</b><INPUT type="text" name="MaxFile"
value="100" size=2><b>M</b><br><br>
<b>File Name: </b><INPUT TYPE=FILE NAME="uploadfile"
SIZE=20><b
r><br>
<INPUT NAME="Upload" TYPE=SUBMIT VALUE="Upload" size=30>
</FORM>
....
==============
UploadText.jsp
==============
....
<%
String Max = request.getParameter("MaxFile");
out.println("The Maximum file size is " + Max);
%>
....
=================