geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lucols (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-3438) context-root error
Date Tue, 28 Aug 2007 02:57:30 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-3438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523146
] 

lucols commented on GERONIMO-3438:
----------------------------------

any one can help?

> context-root error
> ------------------
>
>                 Key: GERONIMO-3438
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3438
>             Project: Geronimo
>          Issue Type: Sub-task
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>    Affects Versions: 2.1
>         Environment: debian 3.1/4.0   
> sun jdk 1.5.0_11-b03 
> apache 2.0.59/2.2.4
>            Reporter: lucols
>
> In geronimo-web.xml , I configure  context-root  to nothing , like this :
> <context-root></context-root>
> thr problem is : i got then contextPath is "/" ,not expected  " ", so error occur: the
web container cannot  right lookup the file.
> you can test like this:
> index.jsp: 
> <jsp:forward page="/test.jsp"/>
> test.jsp:
> <%
> out.println("request context:"+request.getContextPath());
> %>
> geronimo-web.xml:
> <?xml version="1.0" encoding="UTF-8"?>
> <web-app
> 	xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1">	
>  ...
> <context-root></context-root>
> </web-app>
> after deploy, test this in IE broswer:
> http://hostname:8080/index.jsp

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message