struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: how can i retain the field values when there is validation error in field
Date Tue, 19 Mar 2013 22:13:30 GMT
2013/3/19 Muralidhar Yaragalla <java.yaragalla@gmail.com>:
> I have tried this
>
> <action name="createVotingTopic"
> class="com.ymd.ums.lv.action.VotingTopicAction" method="execute">
>                <result name="success">/jsp/lv/voteTopic.jsp</result>
>
>                <result name="input" type="redirect">
>                    <param name="location">/jsp/lv/voteTopic.jsp</param >
>               </result>
>           </action>
>
> But even error messages not getting printed.

You use redirect result type which drops the current request, remove
type="redirect"


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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


Mime
View raw message