David, thank you for your respond. 1. According to web.xml file, <init-param> <param-name>application</param-name> <param-value>ApplicationResources</param-value> </init-param>
i should put it in WEB-INF/classes with this name : ApplicationResources.propertise YES. I did and i saw it in the exact location as well. 2. i have struts-config.xml is my folder and the previous is the typo error.. sorry about that. ** Do you think that's because of the versionning problem? I have no problem if I deploy it into the tomcat 4.1.27 and no problem. :-) But it;s should be the way (versionning) right? Regards, Foong Kim Seong Canon Marketing Malaysia 03-7844 6155 "David G Friedman" <[EMAIL PROTECTED]> 10/09/2003 03:08 AM Please respond to "Struts Users Mailing List" To: "Struts Users Mailing List" <[EMAIL PROTECTED]> cc: Subject: RE: Versioning Problem? Do you have a file "WEB-INF/classes/ApplicationResources" ? According to the name you put in your struts-config.xml file, that is where it should be. If it were "resources.ApplicationResources" then it would be in "WEB-INF/classes/resources/ApplicationResources". Also, you program might not work if you have a struts config file named "Struct-config.xml". Was that typo or is that how you have it described in your web.xml file? Regards, David -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 9:58 PM To: [EMAIL PROTECTED] Subject: Versioning Problem? I have this problem with my Struts. This java.lang.NullPointers alwasy telling me that i couldnt find the MessageResources files. I am running Tomcat 4.0.6 and Struts 1.1 . Is that a problem with the versioning issues? or what could be the cause?... any ideas? Excpetion ========= index.jsp [-1:-1] java.lang.ExceptionInInitializerError: java.lang.NullPointerException at org.apache.struts.util.MessageResources.getMessageResources(MessageResources .java:577) at org.apache.struts.taglib.html.BaseHandlerTag.<clinit>(BaseHandlerTag.java:10 8) at java.lang.Class.forName0(Native Method at java.lang.Thread.run(Thread.java:479) Struct-config.xml ============== .................... <!-- message resources --> <message-resources parameter="ApplicationResources" null="false" /> </struts-config> web.xml =-====== .... .... <param-name>application</param-name> <param-value>ApplicationResources</param-value> </init-param> .......... ......... <!-- The Welcome File List --> <welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> </web-app> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]