saimurali
Matthew Phillips
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
saimurali
Originally posted by sai murali:
I am using Tomcat 4.1. I have "struts.jar" in
C:\j2sdk1.4.0_01\jre\lib\ext\ instead of having it in struts/WEB-INF/lib (application) folder.
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
saimurali
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
The installation of Struts is a relatively simple process. We will first create a directory structure in our Tomcat installation that will allow us to create our test application. (In this example we are assuming that Tomcat has been isntalled to a directory named c:\tomcat.) Under the webapps directory in the tomcat installation directory, create two directories, jsp and WEB-INF. The jsp directory will be used to hold the JSPs we create for our application. Under the WEB-INF directory create two directories, classes and lib. The lib directory will hold the struts.jar file. The classes directory will be used to hold all the Java classes that we code. Under the classes directory, create a directory named test. Under the test directory, create a directory called struts.
Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
saimurali
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Originally posted by Thomas Paul:
yes, that will cause the exception you encountered. You can have the struts.jar in your ext directory but you still must have it in the WEB-INF/lib directory. On my own setup that is how I have it so I can do compiles easily.
[ March 17, 2003: Message edited by: Thomas Paul ]
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |