You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Maxime Colas des Francs <ma...@sts.ca> on 2002/12/04 15:54:49 UTC

VirtualHost workDir

Hi,

I attempt to use Virtual Host with tomcat 4.1.12
in server.xml, each host and context are defined like this :

[...]
<Host name="www.foo.com" debug="0" appBase="/var/webapps/www.foo.com"
            workDir="/var/webapps/www.foo.com/work" ... />
    <Context path="" docBase="webapp" ... />
[...]

/var/webapps/www.foo.com/webapp contains :
index.jsp
foo/test.jsp

it works .

but in workDir, after automatic jsp compilation i can find this organisation
:

work/webapp
work/_/index_jsp.java
work/_/index_jsp.class
work/_/foo/test_jsp.java
work/_/foo/test_jsp.class

directory webapp is empty, and all application is in directory '_' .. is it
normal ?

I want to use ant jspc task, where to place the generated files (destdir
option) ?

thks !



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>