Just so nobody bites my head off, I did check the archive first. I found a
lot of discussions pertaining to this problem, but I couldn't find a
solution.

I have two completely different jsp files, in different directories, but
with the same name.
i.e. I have:
webroot/dir_one/index.jsp
webroot/dir_two/index.jsp

After I restart the webserver, whichever jsp file I view in the browser
first becomes what is displayed for both of them---even though the code is
completely different.

The cause of this problem seems to be pretty simple. In the jsp properties
file there is a setting for the scratch directory. When I look in the
scratch directory, all of the compiled classes are in the root of the
directory---none of the directory information is saved.
i.e. I get:
scratchdir/index.class
instead of:
scratchdir/dir_one/index.class
scratchdir/dir_two/index.class

Has anyone out there solved this problem? I am using jsp with apache jserv.
The obvious solution seems to be to get the scratch directory to save path
iformation for the files to differentiate them, but I'm not sure how to do
that.

If anyone has already solved this and that info is in the archive, I
apologize. I looked, but couldn't find it.

Thanks,
Scott.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to