This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Java in General and the fly likes Uploading Files Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Uploading Files" Watch "Uploading Files" New topic
Author

Uploading Files

amjath sharief
Greenhorn

Joined: Nov 25, 2000
Posts: 1
Hi!java programmers,
When i am trying to upload file to a server (Javawebserver)with some other form data the file gets uploaded into my webserver.but when i m trying to get the other form fields using the getParameter() method it returns "null" as the value,though i am typing some text in the textfields.Can any body please solve this problem.thanks in advance. you can mail me to : mailtoamjath@yahoo.com
msyal
Greenhorn

Joined: Nov 23, 2000
Posts: 3
There is already a class at www.servlets.com
Download the Oreilly package
There is a java file MultipartRequest.java in that package
complie the file
The MultpartRequest has three parameters
1. HttpServletRequest Objext
2. The path wheer U want to upload the file
3. The max. size of the file
I hope this might help to solve youe problem
rajesh katti
Greenhorn

Joined: May 24, 2001
Posts: 10
Hi,
Please let me know where is the "Uploader" file.
I am not getting it from anywhere
Please its urgent. Thanks in advance.
Rajesh
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Uploading Files
 
Similar Threads
FormBean - Hidden variable not set
Accessing Files from a Web App
How to get the request parameters while the enctype is multipart/form-data
Submit multipart and form data
Problem in submitting the form