File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Action in a New Windows FormFile NULL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Action in a New Windows FormFile NULL" Watch "Action in a New Windows FormFile NULL" New topic

Action in a New Windows FormFile NULL

Paola Orsini L

Joined: Jan 12, 2009
Posts: 4
I am trying to preview an image so I am using a FormFile to get the image and in a new windows show that image, but in the Action class I get all parameters in the form but not the file.

in the JSP

some one could help .. Thanks
David Newton

Joined: Sep 29, 2008
Posts: 12617

I'm not sure what you mean--are you saying that you have a session-based form bean and trying to use it in the openUpdateProducts action from the link?
I agree. Here's the link:
subject: Action in a New Windows FormFile NULL
Similar Threads
How to convert multiple image files in to a pdf
Struts html:link problem
file miss match error in struts 1
Multiple File Upload using Struts
How to make FormFile return fully qualified file name?