You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by hg...@apache.org on 2001/06/29 22:53:57 UTC
cvs commit: jakarta-tomcat/src/shell jspc.sh
hgomez 01/06/29 13:53:57
Modified: src/shell jspc.sh
Log:
Updated CLASSPATH to follow new scheme in TC 3.3
Submitted by: Nicolas Mailhot [Nicolas.Mailhot@one2team.com]
Revision Changes Path
1.3 +2 -2 jakarta-tomcat/src/shell/jspc.sh
Index: jspc.sh
===================================================================
RCS file: /home/cvs/jakarta-tomcat/src/shell/jspc.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- jspc.sh 2000/02/09 06:50:50 1.2
+++ jspc.sh 2001/06/29 20:53:53 1.3
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $Id: jspc.sh,v 1.2 2000/02/09 06:50:50 shemnon Exp $
+# $Id: jspc.sh,v 1.3 2001/06/29 20:53:53 hgomez Exp $
# Shell script to runt JspC
@@ -63,7 +63,7 @@
oldCP=$CLASSPATH
CLASSPATH=.
-for i in ${TOMCAT_HOME}/lib/* ; do
+for i in ${TOMCAT_HOME}/lib/container/* ${TOMCAT_HOME}/lib/common/* ; do
CLASSPATH=${CLASSPATH}:$i
done
specifying the root of your app???
Posted by Colin Brumelle <cb...@home.com>.
Hi All,
My Problem:
When I need to read or write something to disk, I always have trouble
finding out where the root of my application is... For example, If my
application is in "webapps", Tomcat treats the "bin" directory as the root
(because thats where its running). How do you specify a different directory
as the "root" of your application? Or is there some other way to refer to
the directory where the jsp is run from? (Through the servlet context???)
Ideally, I just want to be able to say "look one directory up from wherever
this jsp is run from, and open file "blah.xml" or something...
Thanks a bunch...
Colin Brumelle