Hi Bhaarat,
My experience for this requirement is to "return false" for the form submit
handling:

<s:form method="post" action="... " onsubmit="...; return false">       
...
</s:form>

Hope this helps.

Qunhuan

-----Original Message-----
From: Bhaarat Sharma [mailto:bhaara...@gmail.com] 
Sent: 24 May 2009 18:38
To: Struts Users Mailing List
Subject: how to have an empty result type

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?

Thanks!
-bhaarat




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to