Dear All;
            I need to upload one excel file to server and then to parse it to 
get it's contents. In JSP file i have following code:

  | <form method="post" enctype="multipart/form-data" 
action="<portlet:actionURL/>">
  |  File: <input type="file" name="file" size="25">
  | <input class="boldFlatbtn" type="submit" name="Upload_File" value="Upload 
File"/>   
  |  
  | </form>
  |  
In processAction i am using following code:
System.out.println("Uploaded file path is : " + 
actionRequest.getParameter("file"));

This is not showing me the file name. 

Please help me to how i can get that uploded file at processAction and to save 
it. 
I googled to find answer but i could not find any good results.

Thanks in advance;
Vikash Anand.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996268#3996268

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996268
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to