File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Exception when working with validations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Exception when working with validations" Watch "Exception when working with validations" New topic

Exception when working with validations

Bharat Athreya

Joined: Mar 09, 2006
Posts: 10
Hi all,

I have a login JSP with username and password whose form bean extends Validatorform. I have written maxlength run in validation.xml. Everyting looks fine till her.. But when i add this code
<html:javascript formName="loginForm" dynamicJavascript="true" staticJavascript="false" />
in my jsp i get the following exception:

javax.servlet.ServletException: No form found under 'loginForm' in locale 'en_US'

If i take that out that peice of code.. I dont get any errors..
can any one of you help to resolve this problem.
Thanks in advance!

Bharat Athreya
I agree. Here's the link:
subject: Exception when working with validations
It's not a secret anymore!