File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Soft Skills this week in the Jobs Discussion 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>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to display action errors in struts tiles