You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Caoilte O'Connor <li...@caoilte.org> on 2004/03/12 19:54:31 UTC
Re: upload validation failures are blanking my form values
On Friday 12 March 2004 19:43, you wrote:
> Greetings,
>
> I was browsing through the Struts mail lists and found
> the thread that you started. I am having the exact same
> problem. Do you know of a work around or fix for this
> problem?
>
> TIA,
>
> Craig
user ignorance mate. i filed a bug,
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24503
you can voice your support and maybe someone in the team
will have a look at it. Otherwise someone else emailed me a
couple of monthes ago *rummages around*
--------------
I just ran into the same problem... and googled up your
unanswered query. But I think I just figured it out...
in the stuts config set the property for the file element to
org.apache.struts.upload.FormFile not to java.lang.String.
Then in the action class or form or wherever you need to do
it
cast it back from object.
Thats my guess.
I bet you already figured that out. :)
--------------
To be honest, I'm not sure he even had the same problem as
me, so I don't know if that will help you (it doesn't help
me).
Let me know if you find a solution or persuade someone to
fix it.
c
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org