You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Subhojit Roy <ro...@yahoo.com> on 2003/06/18 14:46:33 UTC

Resource not available (file not found) error with Tomcat 4.1.24

Hi All

I have installed Tomcat 4.1.24. But when I create my own directories under the webapp directory and add jsp files to the directory I cannot access the jsp file using the url:

http://localhost:8080/<dir name>/<jsp file name>.

I get the HTTP status 404 error with the following message:"The requested resource <path name> is not available".

Can you please provide some feedback

Regards







---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

Re: Resource not available (file not found) error with Tomcat 4.1.24

Posted by John Turner <to...@johnturner.com>.
You need a Context for your directory.  Use the /examples Context in 
server.xml as an example.

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html

John

On Wed, 18 Jun 2003 05:46:33 -0700 (PDT), Subhojit Roy 
<ro...@yahoo.com> wrote:

>
> Hi All
>
> I have installed Tomcat 4.1.24. But when I create my own directories 
> under the webapp directory and add jsp files to the directory I cannot 
> access the jsp file using the url:
>
> http://localhost:8080/<dir name>/<jsp file name>.
>
> I get the HTTP status 404 error with the following message:"The requested 
> resource <path name> is not available".
>
> Can you please provide some feedback
>
> Regards
>
>
>
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!



-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

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