You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Coelho.Joao" <Jo...@ftb.ca.gov> on 2007/02/15 00:59:08 UTC
Jsp gest 404 error
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.
RE: Jsp gest 404 error
Posted by "Coelho.Joao" <Jo...@ftb.ca.gov>.
Good point about case. I will check once again. Thanks all for the
trouble. I will let you all know what transpires. Probably a bonehead
mistake.
-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]
Sent: Thursday, February 15, 2007 9:29 AM
To: Tomcat Users List
Subject: RE: Jsp gest 404 error
> From: Coelho.Joao [mailto:Joao.Coelho@ftb.ca.gov]
> Subject: RE: Jsp gest 404 error
>
> The only difference is that unders windows it works but not under
> slackware.
Besides the potential permissions issue someone already mentioned, you
may have a use of incorrect case somewhere. The Windows file system is
not case sensitive, slackware is.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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
RE: Jsp gest 404 error
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Coelho.Joao [mailto:Joao.Coelho@ftb.ca.gov]
> Subject: RE: Jsp gest 404 error
>
> The only difference is that unders windows it works but
> not under slackware.
Besides the potential permissions issue someone already mentioned, you
may have a use of incorrect case somewhere. The Windows file system is
not case sensitive, slackware is.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
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
RE: Jsp gest 404 error
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Zack Grafton [mailto:zachary.grafton@gmail.com]
> Subject: Re: Jsp gest 404 error
>
> Every web application requires a WEB-INF/web.xml file. If that file
> isn't there, Tomcat won't treat the directory you created as a web
> application.
Not true. Tomcat (at least the current versions) will deploy apps
without even a WEB-INF directory. You obviously can't have servlet
mappings in such cases, but all else works fine.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
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
RE: Jsp gest 404 error
Posted by "Coelho.Joao" <Jo...@ftb.ca.gov>.
Sort of kidding, I thought you were serious about a manual named "Fine".
But I had looked at the log files and had not found anything. Started
now looking at the documentation on setting up the logs, hopefully I
will get more information about my problem and at the same time learn
something new.
Thanks.
joao
-----Original Message-----
From: Hassan Schroeder [mailto:hassan.schroeder@gmail.com]
Sent: Thursday, February 15, 2007 9:22 AM
To: Tomcat Users List
Subject: Re: Jsp gest 404 error
On 2/15/07, Coelho.Joao <Jo...@ftb.ca.gov> wrote:
> What Fine manual ?
?! You're joking, right? If not, speaking to your immediate question,
that'd be <http://tomcat.apache.org/tomcat-4.1-doc/config/logger.html>
Or use the local copy included in your standard Tomcat installation as
$CATALINA_HOME/webapps/tomcat-docs
HTH,
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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
Re: Jsp gest 404 error
Posted by Hassan Schroeder <ha...@gmail.com>.
On 2/15/07, Coelho.Joao <Jo...@ftb.ca.gov> wrote:
> What Fine manual ?
?! You're joking, right? If not, speaking to your immediate question,
that'd be <http://tomcat.apache.org/tomcat-4.1-doc/config/logger.html>
Or use the local copy included in your standard Tomcat installation as
$CATALINA_HOME/webapps/tomcat-docs
HTH,
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
---------------------------------------------------------------------
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
RE: Jsp gest 404 error
Posted by "Coelho.Joao" <Jo...@ftb.ca.gov>.
What Fine manual ?
-----Original Message-----
From: Hassan Schroeder [mailto:hassan.schroeder@gmail.com]
Sent: Thursday, February 15, 2007 8:56 AM
To: Tomcat Users List
Subject: Re: Jsp gest 404 error
On 2/15/07, Coelho.Joao <Jo...@ftb.ca.gov> wrote:
> Is there a way to get some logs going?
Absolutely, and it's covered in the Fine Manual :-)
Might be a good next stop...
FWIW,
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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
Re: Jsp gest 404 error
Posted by Hassan Schroeder <ha...@gmail.com>.
On 2/15/07, Coelho.Joao <Jo...@ftb.ca.gov> wrote:
> Is there a way to get some logs going?
Absolutely, and it's covered in the Fine Manual :-)
Might be a good next stop...
FWIW,
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
---------------------------------------------------------------------
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
RE: Jsp gest 404 error
Posted by "Coelho.Joao" <Jo...@ftb.ca.gov>.
You know you may be onto something. I don't have my laptop with me
today at work, but I will check. Thanks much.
I will let you know what happens.
joao
-----Original Message-----
From: Zack Grafton [mailto:zachary.grafton@gmail.com]
Sent: Thursday, February 15, 2007 8:46 AM
To: Tomcat Users List
Subject: Re: Jsp gest 404 error
Joao,
There should be logs under the logs directory. It should be at the same
level in the filesystem as your webapps directory. Have you checked the
file permissions?
Zack
Coelho.Joao wrote:
> Thanks Zack.
> I do have the web.xml file in the WEB-INF directory. I am not sure
> what the heck is going on, becausee what happens is that the same
> tomcat version is being used in windowsxp and linux slackware, and I
> am using the same sample application. The only difference is that
> unders windows it works but not under slackware. This whole thing
> started with me trying a Struts sample application. I will continue
> to poke around to see if somehow I am doing something so wrong that I
> am not even seeing it.
>
> Is there a way to get some logs going? The only error I get is 404
> and the text that it cannot find such url i.e.
> '/jspcr2/chap05/examples/somepage.jsp'
> Thanks again.
>
> joao
>
> -----Original Message-----
> From: Zack Grafton [mailto:zachary.grafton@gmail.com]
> Sent: Thursday, February 15, 2007 8:26 AM
> To: Tomcat Users List
> Subject: Re: Jsp gest 404 error
>
> Hello Again,
>
> Every web application requires a WEB-INF/web.xml file. If that file
> isn't there, Tomcat won't treat the directory you created as a web
> application. As long as you have WEB-INF/web.xml file, you can place
> the JSP files in subdirectories and Tomcat will find them.
>
> Hope that helps,
>
> Zack
>
> Coelho.Joao wrote:
>
>> What is strange is that the very same applications that did not work
>> in Slackware 10.1 using tomcat 4.1 do work in windowsxp using tomcat
>>
> 5.5 .
>
>> I was trying to run examples from a book on JSP "The complete
>>
> Reference"
>
>> and I placed the sample code in slackware under the webapps
>> directory,
>>
>
>
>> something like this: webapps/jspcr/chap05/examples/somepage.jsp.
>> Tomca4.1 does not find the jsp but will find other applications I
>> have
>>
>
>
>> under webapps. This same directory structure was used with Tomcat5.5
>> in windows and I have no problem with it: the page somepage.jsp, for
>> example, shows up.
>>
>> I am not sure at all what the problem is. And I don't know if this
>> helps me, but is there a way to log the errors so that I can at least
>> try to figure out what's wrong ?
>>
>> -----Original Message-----
>> From: Zack Grafton [mailto:zachary.grafton@gmail.com]
>> Sent: Wednesday, February 14, 2007 6:12 PM
>> To: Tomcat Users List
>> Subject: Re: Jsp gest 404 error
>>
>> 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
>>
>>
>> ---------------------------------------------------------------------
>> 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
>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> 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
>
>
> ---------------------------------------------------------------------
> 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
>
>
>
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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
Re: Jsp gest 404 error
Posted by Zack Grafton <za...@gmail.com>.
Joao,
There should be logs under the logs directory. It should be at the same
level in the filesystem as your webapps directory. Have you checked the
file permissions?
Zack
Coelho.Joao wrote:
> Thanks Zack.
> I do have the web.xml file in the WEB-INF directory. I am not sure what
> the heck is going on, becausee what happens is that the same tomcat
> version is being used in windowsxp and linux slackware, and I am using
> the same sample application. The only difference is that unders windows
> it works but not under slackware. This whole thing started with me
> trying a Struts sample application. I will continue to poke around to
> see if somehow I am doing something so wrong that I am not even seeing
> it.
>
> Is there a way to get some logs going? The only error I get is 404 and
> the text that it cannot find such url i.e.
> '/jspcr2/chap05/examples/somepage.jsp'
> Thanks again.
>
> joao
>
> -----Original Message-----
> From: Zack Grafton [mailto:zachary.grafton@gmail.com]
> Sent: Thursday, February 15, 2007 8:26 AM
> To: Tomcat Users List
> Subject: Re: Jsp gest 404 error
>
> Hello Again,
>
> Every web application requires a WEB-INF/web.xml file. If that file
> isn't there, Tomcat won't treat the directory you created as a web
> application. As long as you have WEB-INF/web.xml file, you can place
> the JSP files in subdirectories and Tomcat will find them.
>
> Hope that helps,
>
> Zack
>
> Coelho.Joao wrote:
>
>> What is strange is that the very same applications that did not work
>> in Slackware 10.1 using tomcat 4.1 do work in windowsxp using tomcat
>>
> 5.5 .
>
>> I was trying to run examples from a book on JSP "The complete
>>
> Reference"
>
>> and I placed the sample code in slackware under the webapps directory,
>>
>
>
>> something like this: webapps/jspcr/chap05/examples/somepage.jsp.
>> Tomca4.1 does not find the jsp but will find other applications I have
>>
>
>
>> under webapps. This same directory structure was used with Tomcat5.5
>> in windows and I have no problem with it: the page somepage.jsp, for
>> example, shows up.
>>
>> I am not sure at all what the problem is. And I don't know if this
>> helps me, but is there a way to log the errors so that I can at least
>> try to figure out what's wrong ?
>>
>> -----Original Message-----
>> From: Zack Grafton [mailto:zachary.grafton@gmail.com]
>> Sent: Wednesday, February 14, 2007 6:12 PM
>> To: Tomcat Users List
>> Subject: Re: Jsp gest 404 error
>>
>> 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
>>
>>
>> ---------------------------------------------------------------------
>> 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
>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> 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
>
>
> ---------------------------------------------------------------------
> 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
>
>
>
---------------------------------------------------------------------
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
RE: Jsp gest 404 error
Posted by "Coelho.Joao" <Jo...@ftb.ca.gov>.
Thanks Zack.
I do have the web.xml file in the WEB-INF directory. I am not sure what
the heck is going on, becausee what happens is that the same tomcat
version is being used in windowsxp and linux slackware, and I am using
the same sample application. The only difference is that unders windows
it works but not under slackware. This whole thing started with me
trying a Struts sample application. I will continue to poke around to
see if somehow I am doing something so wrong that I am not even seeing
it.
Is there a way to get some logs going? The only error I get is 404 and
the text that it cannot find such url i.e.
'/jspcr2/chap05/examples/somepage.jsp'
Thanks again.
joao
-----Original Message-----
From: Zack Grafton [mailto:zachary.grafton@gmail.com]
Sent: Thursday, February 15, 2007 8:26 AM
To: Tomcat Users List
Subject: Re: Jsp gest 404 error
Hello Again,
Every web application requires a WEB-INF/web.xml file. If that file
isn't there, Tomcat won't treat the directory you created as a web
application. As long as you have WEB-INF/web.xml file, you can place
the JSP files in subdirectories and Tomcat will find them.
Hope that helps,
Zack
Coelho.Joao wrote:
> What is strange is that the very same applications that did not work
> in Slackware 10.1 using tomcat 4.1 do work in windowsxp using tomcat
5.5 .
> I was trying to run examples from a book on JSP "The complete
Reference"
> and I placed the sample code in slackware under the webapps directory,
> something like this: webapps/jspcr/chap05/examples/somepage.jsp.
> Tomca4.1 does not find the jsp but will find other applications I have
> under webapps. This same directory structure was used with Tomcat5.5
> in windows and I have no problem with it: the page somepage.jsp, for
> example, shows up.
>
> I am not sure at all what the problem is. And I don't know if this
> helps me, but is there a way to log the errors so that I can at least
> try to figure out what's wrong ?
>
> -----Original Message-----
> From: Zack Grafton [mailto:zachary.grafton@gmail.com]
> Sent: Wednesday, February 14, 2007 6:12 PM
> To: Tomcat Users List
> Subject: Re: Jsp gest 404 error
>
> 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
>
>
> ---------------------------------------------------------------------
> 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
>
>
>
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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
Re: Jsp gest 404 error
Posted by Zack Grafton <za...@gmail.com>.
Hello Again,
Every web application requires a WEB-INF/web.xml file. If that file
isn't there, Tomcat won't treat the directory you created as a web
application. As long as you have WEB-INF/web.xml file, you can place
the JSP files in subdirectories and Tomcat will find them.
Hope that helps,
Zack
Coelho.Joao wrote:
> What is strange is that the very same applications that did not work in
> Slackware 10.1 using tomcat 4.1 do work in windowsxp using tomcat 5.5 .
> I was trying to run examples from a book on JSP "The complete Reference"
> and I placed the sample code in slackware under the webapps directory,
> something like this: webapps/jspcr/chap05/examples/somepage.jsp.
> Tomca4.1 does not find the jsp but will find other applications I have
> under webapps. This same directory structure was used with Tomcat5.5 in
> windows and I have no problem with it: the page somepage.jsp, for
> example, shows up.
>
> I am not sure at all what the problem is. And I don't know if this
> helps me, but is there a way to log the errors so that I can at least
> try to figure out what's wrong ?
>
> -----Original Message-----
> From: Zack Grafton [mailto:zachary.grafton@gmail.com]
> Sent: Wednesday, February 14, 2007 6:12 PM
> To: Tomcat Users List
> Subject: Re: Jsp gest 404 error
>
> 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
>
>
> ---------------------------------------------------------------------
> 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
>
>
>
---------------------------------------------------------------------
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
RE: Jsp gest 404 error
Posted by "Coelho.Joao" <Jo...@ftb.ca.gov>.
What is strange is that the very same applications that did not work in
Slackware 10.1 using tomcat 4.1 do work in windowsxp using tomcat 5.5 .
I was trying to run examples from a book on JSP "The complete Reference"
and I placed the sample code in slackware under the webapps directory,
something like this: webapps/jspcr/chap05/examples/somepage.jsp.
Tomca4.1 does not find the jsp but will find other applications I have
under webapps. This same directory structure was used with Tomcat5.5 in
windows and I have no problem with it: the page somepage.jsp, for
example, shows up.
I am not sure at all what the problem is. And I don't know if this
helps me, but is there a way to log the errors so that I can at least
try to figure out what's wrong ?
-----Original Message-----
From: Zack Grafton [mailto:zachary.grafton@gmail.com]
Sent: Wednesday, February 14, 2007 6:12 PM
To: Tomcat Users List
Subject: Re: Jsp gest 404 error
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
---------------------------------------------------------------------
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
Re: Jsp gest 404 error
Posted by Zack Grafton <za...@gmail.com>.
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