aspose file tools*
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
Author

Exception when working with validations

Bharat Athreya
Greenhorn

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'
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:846

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: http://aspose.com/file-tools
 
subject: Exception when working with validations