I suggest you write your own JavaScript validations; Validator has many
problems.

Mark

-----Original Message-----
From: sriram [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 10, 2003 11:34 AM
To: '[EMAIL PROTECTED]'
Subject: Struts Validator Errors - urgent!!


H i, This is a repost. I'm in need of a solution to the following problem.
Pl. suggest ! ====================

I'm tying to incorporate client-side validations using struts validator.
 
I've downloaded all related .jar files and placed them in /WEB-INF/lib.
 
I'm using commons-validator.jar (1.0.2).
 
When I'm trying to display the. jsp page in web browser. it's showing some
HTML tags as mentioned below: <input type="text" n
 
and in the console the exception thrown is:
javax.servlet.ServletException: org/apache/struts/util/MessageResources
        at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageCon
textImpl.java:536)
 
And when I remove the statement "<validator:javascript
formName="supportviewForm"/>" from the .jsp page, it's displayed perfectly
in the browser.
 
What could be the reason? Is there any version conflict? When I searched in
the forums, I found that this error could be because incorrect version of
commons-validator.jar. But I downloaded 1.0.2 and am using that only.
 
And I also tried with <html:javascript formName="supportviewForm"/> for
struts 1.1. When I try to use Struts 1.1, I'm getting errors while
deploying:
- struts-config_1_1.dtd not found
- web-app_2_2.dtd not found
Any help is much appreciated.
 
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to