struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milan Milanovic <>
Subject Re: [S2] Form doesn't redirect
Date Mon, 28 Jul 2008 11:47:02 GMT

Hi Newton,

my first form doesn't redirect, it just send some data to action class and
updates targeting div in the page to show updated data from my class, so it
works fine, but it shouldn't redirect from page. But, this second form
should redirect and yes it doesn't have target specified, as I don't want to
specify any part of the page, but I want to show (redirect to) completely
new page. What can I do ?

Thanks, Milan

newton.dave wrote:
> --- On Sun, 7/27/08, Milan Milanovic <> wrote:
>>>> <s:form action="save" validate="false">
>>>>   <s:textfield id="value" tabindex="1" label="Value" name="value"/>
>>>>   <s:submit theme="ajax" tabindex="2" cssStyle="submit"
>>>>             cssClass="submit" align="right" value="Save"/>
>>>> </s:form>
> Do Ajax forms redirect? I thought they submitted in the background via an
> XHR. Since you don't have a target specified, would the result just be
> ignored?
> Dave
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message