A simple JSP code to upload daa from a client side
|
|
|
Question / Problem
|
how to upload a data from a client side using JSP code?
|
Solution
|
<html> <head> <title>uploadinf files</title> </head> <body> <form action="formAction.jsp"method="post"> <input type="file"name="filter"> <br> <input type="submit"value="submit"> </form> </body> </html>
formAction.jsp
<html> <head> <title>uploading files</title> </head> <h1>uploading files/h1> file name: <%=request.getParameter("filter")%> </body> </html>
use Apache tomcat 6.0 or 5.0 for running JSP
hai friends Rank it.....any help anto2040@gmial.com
|
Applies to |
|
JSP
|
Rank It |
|