Hello! I know that this subject has been discussed
many times, but I have not seen a clear, concise
answer to date, and I still can't get things to work.
Here's the problem. I have Tomcat 4.0 final running
with the mod_webapp connector and apache. I have in
apache's httpd.conf the following:

    WebAppConnection tomcatConnection warp
192.168.1.2:8008
    WebAppDeploy ROOT tomcatConnection /
    WebAppDeploy lunch tomcatConnection /lunch/

and in Tomcat's server.xml:

          <Context path="" docBase="ROOT" debug="0"
reloadable="true" />
          <Context path="/lunch" docBase="lunch"
debug="0" reloadable="true" />
which are two simple contexts. I have both a "ROOT"
and a "lunch" folder within the "webapps" directory.
The index.jsp file in the ROOT directory executes
well. Now, I have this file:
webapps/lunch/WEB-INF/classes/GlobalVariables.class 
but it appears files in /webapps/lunch that are JSP
cannot read these static variables in the bean. The
same problem exists within the very simple ROOT
context, where it can't read variables in class files
located in webapps/ROOT/WEB-INF/classes either.

I read that the CLASSPATH is now ignored by Tomcat
4.0, and that you should not modify it within
catalina.sh (or whatever)

I also read that you can directly import the
GlobalVariables file within every JSP file somehow
BUT:

Isn't there a way to get the JSP files to recognize
where these simple beans live? Thank you for any
help!!


__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

Reply via email to