| Author |
struts2 upload
|
Rajamanickam Palani
Greenhorn
Joined: Mar 01, 2013
Posts: 6
|
|
Hi Friends,
How can i upload a file through javascript please help me.
|
 |
Saif Asif
Ranch Hand
Joined: Aug 11, 2011
Posts: 325
|
|
Hello Rajamanickam Palani ,
You want to upload file via pure javascript or via struts2 ?
For struts2 , you can use the file filed in the struts form tag
On the action side
If you want to mix in Javascript with it , then you can call bind the form submit button with java script and fire an ajax request to upload the file to the server.
|
Regards, Muhammad Saif Asif Mirza
SCJA(5/6) SCJP(6)
|
 |
 |
|
|
subject: struts2 upload
|
|
|