Take a look at the showcase there are many sample for ajax form submits.
http://www.weinfreund.de/struts2-jquery-showcase/
<sx:head />
<s:form id="form" action="echo" theme="simple">
Echo: <s:textfield id="echo" name="echo" value="Hello World!!!"/>
<sj:submit targets="result" value="AJAX Submit" indicator="indicator"/>
</s:form>
This form works also with an fileupload element.
hisameer wrote:
>
> Thanks for your reply. Can you please put some sample code in this regard.
> I am trying to read jquery plug-in documentation but would be great if you
> can put just a sample code for one picand I will handle the rest of it.
> Thanks in advance.
>
>
>
> Johannes Geppert wrote:
>>
>> you can use the jQuery Plugin for this use case.
>> jQuery makes automatically a iframe submit for forms
>> with file upload.
>>
>> http://code.google.com/p/struts2-jquery/
>>
>
-----
---
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep
--
View this message in context:
http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp25266760p25290137.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]