• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

validate and input attributes in config file not working

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Hang a left on main. Then read this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic