I downloaded and installed struts 1.2.9 into my computer, then copied struts webapps WAR files into tomcat_home/webapps folder, and they were deployed by the server, but when I run struts-blank and struts-mailreader, I got the following exception:
type Exception report
description The server encountered an internal error () that prevented it from fulfilling this request.
and here is my classpath: CLASSPATH = C:\Tomcat\bin;C:\Program Files\Java\jdk1.5.0_06\bin; C:\Tomcat\common\lib\servlet-api.jar; C:\mysql-connector-java-3.1.12\mysql-connector-java-3.1.12-bin.jar;C:\struts\lib\struts.jar
and all struts jar files are in the WEB-INF/lib folder of each webapps. Any jar files I should add to the classpath? Tnank you in advance for any advises.
The class identified in the error message is in jsp-api.jar, so this needs to be in your classpath. If you're using the default Tomcat configuration, this should already be in the classpath while you're running Tomcat.
Also, it's not a good idea to have struts.jar in your CLASSPATH variable. It's much better to have it in the /lib directory of the application. This is explained in this link.
I have the same entries like yours. Here are the jar files in common/lib folder: commons-el,japer-compiler,jsper-compiler-jdt,jsper-runtime,jsp-api,naming-factory,naming-factory-dbcp,naming-resources, servlet-api.
However, when I start Tomcat server, I got a "Tomcat Native library not found in java.library.path" error message, don't know have anything to do with the exception problem or not.
Beware the other head of science - it bites! Nibble on this message:
Free, earth friendly heat - from the CodeRanch trailboss