• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to display action errors in struts tiles

 
lakshmideepak katari
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic