CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

  jsp, file, input

Print topic Send  topic

Author Message
Kisat

Posts: 4
Posted: 07/07/2008, 12:42 AM

Hi,

I want to retrieve a file that is sent with a request in a jsp page

I've got a html page with this form :

<FORM ACTION="file.jsp" METHOD="POST" ENCTYPE="multipart/form-data">
Send this file to the server
<INPUT TYPE="FILE" NAME="file">
<INPUT TYPE="SUBMIT" value="Submit">
</FORM>

In my file.jsp how do I retrieve the file that is contained in the request object "file"? i.e. if I want to store that file in a directory on the server, how do I copy the file?

Thanks.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.