On Fri, 12 Nov 2004 12:10:09 -0000, Allistair Crossley
<[EMAIL PROTECTED]> wrote:
> To demonstrate this problem, I have reduced it to a small web app.
> 
> 1. Install 5.5.4 and delete tomcat/webapps/ROOT
> 2. Create file test.xml and save it to tomcat/conf/Catalina/localhost with 
> the content
> 
> <Context path="" docBase="/test"></Context>
> 
> 3. Create folder tomcat/webapps/test
> 4. Create in that folder (3) file called test.jsp with content
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <title>Hello 5.5.4</title>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> </head>
> 
> <body>
>         <%= "Hello 5.5.4" %>
> </body>
> </html>
> 
> 5. Start tomcat
> 6. Request http://yourserver:8080/test/test.jsp

You mean http://yourserver:8080/test.jsp, I suppose.

> You should get a blank page. Not good!

... but expected.
"path" is no longer an allowed attribute of Context when using a
context file (in server.xml, it is of course still allowed).

-- 
xxxxxxxxxxxxxxxxxxxxxxxxx
Rémy Maucherat
Developer & Consultant
JBoss Group (Europe) SàRL
xxxxxxxxxxxxxxxxxxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to