Sure. I submitted a bug, not a solution :-)
This is not the only place where the code breaks. You should probably start setting up an Oracle distribution and you will find all the NPE-places quite fast!
I realized that the init-param, application wasn't specified in the web.xml...I added it and pointed the value to my ApplicationResources.properties file in the following manner...
I verified the ApplicationResources.properties file existed in the web application at /WEB-INF/classes/org/apache/struts/webapp/example/ApplicationResources.properties
When I deploy and point the server to the index.jsp it I get the following error --
Missing message for key index.title
In case you all couldn't tell, I am trying to build, deploy and run the struts example war file.
I've seen many postings on the subject of these types of errors but it has always been the settings in the web.xml file that generally fixed the problem. In my case I have verified over and over again that my setup is correct.
Does anyone have a suggestion...
The only way I have managed to get Struts to play with the JBOSS 3.04 - tomcat 4.1.12 build is to setup servlet 2.3 classloading in tomcat.. and make sure all the necessary class files are in the WEB-INV/lib or WEB-INF/classes dirs.
You can try this by setting the JAVA2ClassLoadingCompliance attribute to false in your tomcat41-service.xml file.
If you find another way let me know!
I tried adding the following to the root level, parallel to the other attributes and the server reports that it isn't a valid attribute.
If this is correct, where in the file should it be placed?