Home Struts Struts2 Struts2uitags Actionerror Tag



Actionerror Tag
Posted on: April 18, 2011 at 12:00 AM
In this tutorial you will learn about the struts action error tags
<action name="actionerrorTag">
   <result>/pages/uiTags/actionerrorTag.jsp</result>
</action>

actionerrorTag.jsp

<%taglib prefix="s" uri="/struts-tags" %>

<html>
  <head>
  <title>Actionerror Tag Example!</title>
  <body>
  <s:form action="validUser" method="POST">
  <s:textfield label="User Name" name="username" size="20" maxlength="10" />
  <s:password label="Password" name="password" size="20" maxlength="10" />
  <s:submit value="Submit" />
  </s:form>
  
  </body>
</html>

Output of the actionerrorTag.jsp:

Related Tags for Actionerror Tag:


More Tutorials from this section

Ask Questions?    Discuss: Actionerror Tag  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.