This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
Don't get me started about those stupid light bulbs.
subject: Exception when working with validations
Similar Threads
why is my loginForm stopped processing the user input
Action and ActionForm
weblogic .jar upload issue
Error: DispatchMapping[/login] does not define a handler property
basic struts question