• 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

Exception when working with validations

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
I hired a bunch of ninjas. The fridge is empty, but I can't find them to tell them the mission.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic