Check out the upgrade notes here...

http://wiki.apache.org/struts/StrutsUpgradeNotes11to124

My guess is you used to have your messages resources configured through the
web.xml  - this was considered deprecated in Struts 1.1 and has been removed
from Struts 1.2.x

You need to configure them int the struts-config.xml using the
message-resources element

Niall


----- Original Message ----- 
From: "Yadav, Ganesh" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, November 17, 2004 5:44 PM
Subject: Struts 1.2.4 validator is not working


Can somebody let me know any workaround for the following error?

Latest struts download version 1.2.4 validator has following error

This error is thrown on following line in JSP.
<html:javascript formName="myForm" page="1" dynamicJavascript="true" />


I am using latest download so that I can use "ValidWhen" functionality.

Am I the only one who is getting this error with the latest download?



java.lang.NullPointerException
at
org.apache.struts.validator.Resources.getMessage(Resources.java:173)
at
org.apache.struts.taglib.html.JavascriptValidatorTag.createDynamicJavasc
ript(JavascriptValidatorTag.java:464)
at
org.apache.struts.taglib.html.JavascriptValidatorTag.renderJavascript(Ja
vascriptValidatorTag.java:373)
at
org.apache.struts.taglib.html.JavascriptValidatorTag.doStartTag(Javascri
ptValidatorTag.java:335)


Thanks
Ganesh

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





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

Reply via email to