Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception when working with validations

 
Bharat Athreya
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic