tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: getAttribute
Date Wed, 30 Apr 2003 10:49:12 GMT
you should use the multipart class :)

-----Original Message-----
From: someOne []
Sent: 30 April 2003 11:38
Subject: getAttribute

Hi All,I'm using taglib ver. 1.6 for 'file uploading' and I have these lines
in my code:  <form method="post" enctype="multipart/form-data"
<p>Paper ID : <input type="text" name="PID"><p>
<p><INPUT TYPE="FILE" NAME="fileName1"></p>
<p><input type="submit" value="Upload"></p>
</FORM>  and in upload.jsp i have : Object
 System.out.println("paper id: "+paperID); But, it doesn't transfer the
value of text box (PID) properly and always prints NULL in output. and
request.getAttribute doesn't work :(Can anybody halp,please?Thnx 

Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message