• 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

Some probloms with struts(New version)

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am getting some errors with Struts.Maybe simple,

1) I have used the earlier version of struts.jar(which was 487 KB Version 1.1?) to develop a major part of my application.Now i have replaced my struts.jar to newer one(Which is 515 KB(Version 1.2)). But when i load pages in browser,i get this error,

javax.servlet.ServletException: Servlet.init() for servlet action threw exception

root cause

java.lang.NoSuchMethodError: org.apache.commons.validator.ValidatorResources.([Ljava/io/InputStream V
at org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:233)
at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:164)

...


2)I am having an ActionForm which uses Struts(commons) validation through validation.xml.When i use client side validation inserting

<html:javascript formName="MyForm"/> It works FINE.

But when i remove client side validation,Serverside is not validating the form.

Anybody know what i am missing?

Thanks
DC
 
I need a new interior decorator. This tiny ad just painted every room in my house purple.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic