« Return to Thread: NoSuchMethodException - but the method's there

Re: NoSuchMethodException - but the method's there

by Daniel Kibler :: Rate this Message:

Reply to Author | View in Thread

Ealden

Yes - I've tried every combination.

With method="upload" set in struts.xml, just accessing the page via uploadPhoto.html brings up a blank form.

removing method="upload" (but still retain action="uploadPhoto" and not change it to action="uploadPhoto!upload")  - when I click on the Upload button, no exception occurs but the file is not uploaded.

With the same configuration, if I access the page via uploadPhoto!upload.html the same exception is displayed.

Ealden Escañan wrote:
On Nov 6, 2007 2:55 AM, Daniel Kibler <dan.kibler@gmail.com> wrote:

Daniel,

Have you tried just accessing the page via uploadPhoto.html when you
have method="upload" set in struts.xml?  Alternatively, have you tried
removing method="upload" (but still retain action="uploadPhoto" and
not change it to action="uploadPhoto!upload") and access the page via
uploadPhoto!upload.html?


--
Ealden Esto E. Escañan
http://ealden.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@appfuse.dev.java.net
For additional commands, e-mail: users-help@appfuse.dev.java.net

 « Return to Thread: NoSuchMethodException - but the method's there