Results 1 to 1 of 1
Thread: File Upload in Struts
- 04-07-2009, 04:22 PM #1
Member
- Join Date
- Apr 2009
- Posts
- 2
- Rep Power
- 0
File Upload in Struts
Hi!
i am using file upload in my struts application. all the needed is done,
method="post" enctype="multipart/form-data" is added in HTML:FORM
on Action class
FileUploadForm fileUploadForm = (FileUploadForm) form;
FormFile myFile = fileUploadForm.getFileupload();
this line of code returns NULL. if i debug and check i can see the File in request(under mutipart) but it is not in the ActionForm. i m using netbeans. Please tell me what could be the problemLast edited by nakumar97; 04-08-2009 at 07:47 AM. Reason: adding some more info...
Similar Threads
-
how to upload a .doc file using struts
By anji4u_19 in forum Suggestions & FeedbackReplies: 0Last Post: 08-26-2008, 10:58 AM -
how to upload a file?
By tommy in forum JavaServer Pages (JSP) and JSTLReplies: 4Last Post: 06-30-2008, 02:50 PM -
file upload
By sundarjothi in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 06-27-2008, 11:52 AM -
file upload in java
By muralikrishna in forum New To JavaReplies: 6Last Post: 06-25-2008, 08:24 AM -
File Upload
By ShoeNinja in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 11-09-2007, 10:09 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks