|
-
Jan 25th, 2009, 07:56 AM
#1
Thread Starter
Hyperactive Member
File upload <FORM ENCTYPE='multipart/form-data' method='POST' action='/myservlet'>
Hi,
recently I try to implement a file upload in my project, however, everything works fine but the problem now is I can't request.getParameter("") from previous form.
I found out that the code in bold causes this problem.
<FORM ENCTYPE='multipart/form-data'
method='POST' action='/myservlet'>
<INPUT TYPE='file' NAME='mptest'>
<INPUT TYPE='submit' VALUE='upload'>
</FORM>
Please advise me on how to solve this problem or is there any other api that is better in handling the file upload. Cheers~
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|