yeah, retuning null also works.
musachy
On Sun, May 24, 2009 at 2:40 PM, Dave Newton <newton.dave@yahoo.com> wrote:
> Bhaarat Sharma wrote:
>>
>> Hello,
>>
>> I am trying to implement http://www.appelsiini.net/projects/jeditable in
>> my
>> struts2 code.
>>
>> Problem I am having is that when the user clicks Ok I am going back to my
>> action, however, I just want my aciton to execute the code necessary to
>> save
>> changes back to the database. I do not want any result type as I do not
>> want to move away from the current page.
>>
>> Is this possible in struts2 or am I better off having a servlet for this?
>
> Return NONE (the constant from Action); returning null might work too, I
> forget at the moment.
>
> Dave
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
|