Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to upload a file from a HTML page to Servlet?

Status
Not open for further replies.

WhiteSox

Programmer
May 22, 2001
20
0
0
US
the html code looks like:

<form method=&quot;post&quot; action=&quot; enctype=&quot;multipart/form-data&quot;>
<input type=&quot;file&quot; name=&quot;doc&quot;>
</form>

my question is: how to receive the file on server side (java servlet)?

thanks a lot in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top