tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Lee <>
Subject Context path
Date Fri, 29 Sep 2000 03:50:51 GMT
<Context path="/purejsp"   
isWARExpanded="true" isWARValidated="false"
isInvokerEnabled="true" isWorkDirPersistent="false"/>

Hi, I added the above server.xml in conf directory of
Tomcat.  However, when I run a .jsp off of 


I get an error 500 (translation error) where by the
line in the .jsp

new FileInputStream("purejsp/something.txt") 

causes a cannot open file exception.  But the
something.txt file is in the same directory as the
.jsp file (in purejsp directory).  The URL worked, how
come the scriplet line didn't?  Does this have
something to do with the context that I'm setting it
wrong?  Thanks a bunch in advance for any reply.

I currently have my .jsp file running with


which is not what I want.  Any advice would be joy!


Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!

View raw message