wood burning stoves 2.0*
The moose likes Struts and the fly likes how to display action errors in struts tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to display action errors in struts tiles" Watch "how to display action errors in struts tiles" New topic
Author

how to display action errors in struts tiles

lakshmideepak katari
Greenhorn

Joined: Sep 05, 2013
Posts: 5
Hi every one,

iam using struts 1.3 tiles i have some problem with bellow code, i have login.jsp which is validated in LoginForm.java if any action errors obtain the longin.jsp showing in separate window with some errors but not in struts tiles in the same page. so what i want to change in my code.

<action-mappings>
<action path="/login" name="loginform" type="com.action.LoginAction" validate="true" input="/login.jdp">
<forward name="success" path="tiles.login.success" redirect="false"/>
<forward name="failed" path="tiles.login.failed" redirect="false"/>
</action>
</action-mappings>
 
 
subject: how to display action errors in struts tiles