tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zack Grafton <zachary.graf...@gmail.com>
Subject Re: Jsp gest 404 error
Date Thu, 15 Feb 2007 02:12:21 GMT
Hello,

Everything in the WEB-INF directory isn't directly accessible; meaning, 
if you type in something like 
http://localhost:8080/myapp/WEB-INF/index.jsp, you will get a 404 
error.  Where you should place them is entirely dependent on you.  You 
can write controller servlets and use a RequestDispatcher to forward to 
a jsp in your WEB-INF directory.  If you are just using jsp pages, don't 
place them in the WEB-INF directory.

Zack


Coelho.Joao wrote:
> I am using tomcat 4.1.   Where must the jsp page be in relation to the
> WEB-INF directory ?
> I am running into some dificulties with some pages.  Some pages show up
> and others give me an error 404.  
>
>
>   


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


Mime
View raw message