• 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

Error : No form found under 'fob' in locale 'en_GB'. A form must be defined....

 
Greenhorn
Posts: 25
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone,
Using struts 1.3.8 I configured struts dyna-validator. Everything is working fine for server side validation. But for client side validation I have following issues:

1) Used single DispatchAction class having three methods: register(-,-,-,-), login(-,-,-,-) and recovery(-,-,-,-). Configured three jsp form pages Rgister.jsp, Login.jsp, Recovery.jsp sending
request to DispatchAction class having a method name as parameter value.

2) Configured validation rules for different jsp form pages based on their action values used in corresponding jsp pages.

3) Using single ActionForm class and single DispatchAction class.

4) Now to get dynamic client side java script code I am putting <html:javascript formName="fob" /> here "fob" is the ActionForm name I am using in struts-config class.

Because I put different action values in validation-user.xml file as

<form-validation>
<form-set>
<form name="/register">.....</form>
<form name="/login">......</form>
<form name="recovery">.....</form>
<form-set>
<form-validation>



I am getting the error : javax.servlet.jsp.JspException: No form found under 'fob' in locale 'en_GB'. A form must be defined in the Commons Validator configuration when dynamicJavascript="true" is set.


If you have any solution please provide your valuable suggestions.
 
This parrot is no more. It has ceased to be. Now it's a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic