This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

validate and input attributes in config file not working

 
Rajesh Sunil
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am using struts 1.1, written validation code in validate() of Form class contains some errors and it has to send to some jsp.

Please find below the code.

<action path="/agenda" type="com.adp.pvsweb.action.AgendaAction" name="agendaForm" scope="session" validate="true" input="invalidCharactersError.jsp">
<set-property property="method" value="loadAgenda"/>
<forward name="agenda_en" path="/cpv/agendav.jsp"/>
<forward name="error_en" path="/cpv/error.jsp"/>
</action>

But invalidCharactersError.jsp is not at all calling it is displaying blank page. The file invalidCharactersError.jsp is there in WebContent dir.

Please tell me where i am making mistake.

Thanks
Raj
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic