File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Uploading Files

 
amjath sharief
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Please let me know where is the "Uploader" file.
I am not getting it from anywhere
Please its urgent. Thanks in advance.
Rajesh
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic