Hi everybody!
I need to upload an image file using
struts 2.
I just follow step by step the example in this
site
but when I'm on action
java class, I always get my upload variables NULL (in my case userImage, userImageContentType and userImageFileName).
I've copied "commons.fileupload-1.2.2.jar" and "commons.io-2.4.jar" into my WEB-INF/lib folder.
I try to change something to make it works, so here's my struts.xml:
The strange thing is that I get no feedback at all, no errors... I reach the success.jsp page but with userImage = null.
Maybe interceptors don't do their job.
Any help?
Thanks
Rob