Forums Register Login

File Upload

+Pie Number of slices to send: Send
Hi,

I am trying to upload files using servlets. Just wanted to know if I need any specific .jar files for uploading files.

Thanks.
+Pie Number of slices to send: Send
No. But you can use Jakarta Commons File Upload if you want.
+Pie Number of slices to send: Send
Thanks Paul,

Actually I was using this package

import com.oreilly.servlet.MultipartRequest;

and I am getting this error: MultipartRequest not found. I am using Jbuilder to develop this application. Can you please tell me if I need to reference this anywhere.

Thanks,
+Pie Number of slices to send: Send
Are you using Jetty? Then the class is in org.mortbay.jetty.jar, which you will need to add to JBuilder's classpath.
+Pie Number of slices to send: Send
Thanks a lot Paul ,

The error is resolved now.

Thanks for an immediate help.
+Pie Number of slices to send: Send
"Ford"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the

JavaRanch Naming Policy.

You can change it

here.

Thanks! and welcome to the JavaRanch!

Mark
I child proofed my house but they still get in. Distract them with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 816 times.
Similar Threads
Uploading file not working
FTPing files from HTML form
Folder Upload in Java
Browse/Upload Button
html:file
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 09:02:27.