UPload a file to server?
i am doing jsp pages that deals with file upload.
using file tool in html i select a file which i want to upload.
but i dont know how to move the file from local server to my web server.
i am using Tomcat web server.
help me to upload file to my web server.
give me your email id
i will mail you a class that i hv created to upload a file to the server.
my mail id is firstname.lastname@example.org?i am waiting for that?
ok.. i will mail you with a day.
i am Ajay i am facing a small problem that is i don't know how to compile jsp file please tell me the solution
Originally Posted by G.Ajay Kumar
can please brief us about your problem so that we can try to help you?
Apache File Upload java library will help you. It documented enough.
Originally Posted by neeraj.singh
can you please email me the class file as well? Or perhaps upload somewhere and share the link ?
effkay @ ymail.com
please remove spaces as forum is not allowing me to post email addy :(
It works fine ... but when I run with applet, it does not work... even though I have signed the applet and used the AccessController.doPrivileged( new PrivilegedAction()....
Originally Posted by arseny
reason I believe is, because when you call the
mPost.addParameter("F" + i, f1); function to add a file, the code goes to the external JAR file and privilege is gone :(
Anyone with help?
can anybody suggest me how i can upload image from JSP page and save it to the database server like Mysql server.