tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BAO RuiXian <ruixian....@pp.inet.fi>
Subject Re: Can't see new jsp pages
Date Thu, 15 May 2003 19:48:56 GMT

> From: John Turner [mailto:tomcat-user@johnturner.com]

> 
> There's nothing you need to do to have Tomcat discover new JSPs, other than 
> making sure you have a Context defined in some manner.
> 
> However, that said, I am thinking that there is something goofy going on 
> with the examples webapp.  Here is what I just did:
> 
> - fresh install of 4.1.24 on Windows

I also have a fresh install for few days on Windows 2000, but with 
version 4.1.18.

> - created JSP shown here:
> 
> <html>
> <head>
> <title>TEST</title>
> </head>
> <body>
> <%
> out.println("***Success***");
> %>
> </body>
> </html>
> 

I tested with the above script.


> - put it in /examples (http://localhost:8080/examples/test.jsp) RESULT = 
> Tomcat 404

My result is ***Success***.

> - put it in /examples/dates (http://localhost:8080/examples/dates/test.jsp) 
> RESULT = Tomcat 404

I don't have a subdirectory 'dates'.

> - put it in / (http://localhost:8080/test.jsp, aka 
> CATALINA_HOME/webapps/ROOT) RESULT = success

The result is also ***Success***.

Best

Bao

> So, I forgot where you were with putting your JSP in various directories, 
> but it seems to me that there is indeed something going on with the 
> /examples webapp.  Not sure what, exactly, but my tests seem to duplicate 
> yours to an extent.
> 
> HTH
> 
> John



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


Mime
View raw message