You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Pilho Kim <ph...@math.soongsil.ac.kr> on 2000/08/23 17:44:40 UTC

Scratch files that Tomcat 3.x generates.

Hi,


Suppose that we visited the following URLs

    http://localhost:8080/examples/jsp/num/numguess.jsp
    http://localhost:8080/examples/jsp/dates/date.jsp
    http://localhost:8080/examples/jsp/snp/snoop.jsp

on Tomcat Web Server.


Then the directories

    $TOMCAT_HOME/work/jsp/num
    $TOMCAT_HOME/work/jsp/dates
    $TOMCAT_HOME/work/jsp/snp

are made and the scratch files

    _0002fjsp_0002fnum_0002fnumguess_0002ejspnumguess.class
    _0002fjsp_0002fnum_0002fnumguess_0002ejspnumguess_jsp_0.java
    _0002fjsp_0002fdates_0002fdate_0002ejspdate.class
    _0002fjsp_0002fdates_0002fdate_0002ejspdate_jsp_0.java
    _0002fjsp_0002fsnp_0002fsnoop_0002ejspsnoop.class
    _0002fjsp_0002fsnp_0002fsnoop_0002ejspsnoop_jsp_0.java

are generated at the directory $TOMCAT_HOME/work/.

I regard that this is a wrong behavior of Tomcat
(or a bug of Tomcat).

Recently, I have succeeded
so that the scratch files are created like as:

    $TOMCAT_HOME/work/jsp/num/numguess.class
    $TOMCAT_HOME/work/jsp/num/numguess_jsp_0.java
    $TOMCAT_HOME/work/jsp/dates/date.class
    $TOMCAT_HOME/work/jsp/dates/date_jsp_0.java
    $TOMCAT_HOME/work/jsp/snp/snoop.class
    $TOMCAT_HOME/work/jsp/snp/snoop_jsp_0.java

Are there anyone interested in this subject ?


Thanks,

Kim




Re: Scratch files that Tomcat 3.x generates. (Again)

Posted by Alex Chaffee <gu...@edamame.stinky.com>.
Sounds good to me, but I'm not really a Jasper guru so I don't know
if there's a problem with it.  I know it's been discussed before.

Pro: it helps organize the work directory so people can more easily
find the source they're looking for; it removes problems people
mentioned once upon a time with super-long class file names.

 - A

> Recently, I have succeeded
> so that the scratch files are created like as:
> 
>     $TOMCAT_HOME/work/localhost_8080%2Fexamples/jsp/num/numguess.class
> 
> $TOMCAT_HOME/work/localhost_8080%2Fexamples/jsp/num/numguess_jsp_0.java
>     $TOMCAT_HOME/work/localhost_8080%2Fexamples/jsp/dates/date.class
>     $TOMCAT_HOME/work/localhost_8080%2Fexamples/jsp/dates/date_jsp_0.java
>     $TOMCAT_HOME/work/localhost_8080%2Fexamples/jsp/snp/snoop.class
>     $TOMCAT_HOME/work/localhost_8080%2Fexamples/jsp/snp/snoop_jsp_0.java
> 
> Are there anyone interested in this subject ?
> 
> 
> Thanks,
> 
> Kim
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org

-- 
Alex Chaffee                       mailto:alex@jguru.com
jGuru - Java News and FAQs         http://www.jguru.com/alex/
Creator of Gamelan                 http://www.gamelan.com/
Founder of Purple Technology       http://www.purpletech.com/
Curator of Stinky Art Collective   http://www.stinky.com/

Scratch files that Tomcat 3.x generates. (Again)

Posted by Pilho Kim <ph...@math.soongsil.ac.kr>.
Hi,

Sorry, I have mistaken about directories in my previous mail.


Suppose that we have visited the following URLs

    http://localhost:8080/examples/jsp/num/numguess.jsp
    http://localhost:8080/examples/jsp/dates/date.jsp
    http://localhost:8080/examples/jsp/snp/snoop.jsp

on Tomcat Web Server.


Then the directories

    $TOMCAT_HOME/work/localhost_8080%2Fexamples/jsp/num
    $TOMCAT_HOME/work/localhost_8080%2Fexamples/jsp/dates
    $TOMCAT_HOME/work/localhost_8080%2Fexamples/jsp/snp

are made and the scratch files

    _0002fjsp_0002fnum_0002fnumguess_0002ejspnumguess.class
    _0002fjsp_0002fnum_0002fnumguess_0002ejspnumguess_jsp_0.java
    _0002fjsp_0002fdates_0002fdate_0002ejspdate.class
    _0002fjsp_0002fdates_0002fdate_0002ejspdate_jsp_0.java
    _0002fjsp_0002fsnp_0002fsnoop_0002ejspsnoop.class
    _0002fjsp_0002fsnp_0002fsnoop_0002ejspsnoop_jsp_0.java

are generated at the directory $TOMCAT_HOME/work/.

I regard that this is a wrong behavior of Tomcat
(or a bug of Tomcat).

Recently, I have succeeded
so that the scratch files are created like as:

    $TOMCAT_HOME/work/localhost_8080%2Fexamples/jsp/num/numguess.class

$TOMCAT_HOME/work/localhost_8080%2Fexamples/jsp/num/numguess_jsp_0.java
    $TOMCAT_HOME/work/localhost_8080%2Fexamples/jsp/dates/date.class
    $TOMCAT_HOME/work/localhost_8080%2Fexamples/jsp/dates/date_jsp_0.java
    $TOMCAT_HOME/work/localhost_8080%2Fexamples/jsp/snp/snoop.class
    $TOMCAT_HOME/work/localhost_8080%2Fexamples/jsp/snp/snoop_jsp_0.java

Are there anyone interested in this subject ?


Thanks,

Kim