Hi,

no, no error! My first form works good with ajax and updates some table
value, but this second form that should save one value from textfield and
redirect from that page, works fine with called submit method, but there is
no redirection, it just stays on this page, it even not refresh.

--
Thx, Milan



Dhiraj Thakur wrote:
> 
> r u getting any error?
> 
> Regards,
> Dhiraj
> 
> On Fri, Jul 25, 2008 at 9:29 PM, Milan Milanovic
> <[EMAIL PROTECTED]>wrote:
> 
>>
>> Hi,
>>
>> I have two forms in my .jsp page which are connected to one Action class.
>> They both works fine, but when user submit second form, method in action
>> class
>> is called, but no redirection to resulting .jsp page (as defined GOOD in
>> struts.xml) is done ?
>>
>> This is my (second) form:
>>
>> <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>
>>
>> and this is from struts.xml:
>>
>> <action name="save" class="myActionClass" method="save">
>>            <result>/pages/firstPage.jsp</result>
>> </action>
>>
>> --
>> Thx, Milan
>>
>> --
>> View this message in context:
>> http://www.nabble.com/-S2--Form-doesn%27t-redirect-tp18654630p18654630.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]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-S2--Form-doesn%27t-redirect-tp18654630p18682482.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]

Reply via email to