Sir, I have developed a web application by using struts 1.2 and it is working fine on my local system with windows environment and my local tomcat web server. But, when i tried to run it on stax environment (by following the ways discussed in help materials on stax.net), the home page is coming but if i click on any hyperlink, a blank page is being displayed and stax console is displaying the following warning message: "org.apache.catlina.core.ApplicationDispatcher invoke WARNING: Servlet action is currently unavailable." I am attaching the folder structure of my application and I am using the following jar files in lib folder. 1) activation.jar 2) commons-beanutils.jar 3) commons-digester.jar 4) commons-fileupload-1.2.jar 5) commons-io-1.4.jar 6) commons-logging.jar 7) jstl-1.2.jar 8) mail.jar 9) mysql-connector-java-5.0.3-bin.jar 10) pager-src.jar 11) pager-taglib.jar 12) quartz.jar 13) servlet-api-2.5.jar 14) struts.jar 15) struts-legacy.jar
I am not getting the reason of such absurd behavior of my application on stax sdk. One thing I want to mention that I have defined the database connection in java file instead of datasource tag in strutsconfig.xml file
One thing that strikes me right away is that you have a copy of the servlet-api.jar file in your WEB-INF/lib folder, which is a big no-no. Does the behavior change if you move that jar out?