This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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>
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to display action errors in struts tiles
 
Similar Threads
Multi-page form question -- Is SESSION scope required??
Struts Cancel Button submits the form
Struts tiles framework not action in URL
forward from one action to another?
Global forward error