You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John Rodriguez <jr...@columbia.edu> on 2005/10/21 22:22:38 UTC

default work directory?

I want to step through my web application through an Eclipse debugger.

My web app is made up of servlets and jsps.

 

Right now, the jsps are compiled into servlets and put into a directory
OUTSIDE the web app file hierarchy.

I wish to reconfigure Tomcat so that jsp are compiled and put INSIDE the web
app fire hierarchy so that my debugger can access it and step through it.
How can I do this?

 

I look in $TOMCAT_HOME/conf/web.xml and it seems that the variable
scratchdir is what I want.

The documentation says that the "default work directory for the current web
application" is what is used.

What is the default work directory?

 

-John Rodriguez


Re: default work directory?

Posted by "Seak, Teng-Fong" <se...@yahoo.com>.
    Do you use pure Eclipse to debug?  Or with a plugin like MyEclipse? 
My point is, instead of fiddling default work directory, couldn't you
debug in that way?  I use MyEclipse and I remember having seen a super
tutorial in their website showing how to debug without tamper with
Tomcat's default setting.

John Rodriguez wrote:

>I want to step through my web application through an Eclipse debugger.
>
>My web app is made up of servlets and jsps.
>
> 
>
>Right now, the jsps are compiled into servlets and put into a directory
>OUTSIDE the web app file hierarchy.
>
>I wish to reconfigure Tomcat so that jsp are compiled and put INSIDE the web
>app fire hierarchy so that my debugger can access it and step through it.
>How can I do this?
>
> 
>
>I look in $TOMCAT_HOME/conf/web.xml and it seems that the variable
>scratchdir is what I want.
>
>The documentation says that the "default work directory for the current web
>application" is what is used.
>
>What is the default work directory?
>
> 
>
>-John Rodriguez
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org