Date: 2004-07-09T19:18:47
   Editor: JoergHeinicke <[EMAIL PROTECTED]>
   Wiki: Cocoon Wiki
   Page: WebSphereV5.0Deployment
   URL: http://wiki.apache.org/cocoon/WebSphereV5.0Deployment

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -6,21 +6,21 @@
 
 Example when you have a mapping like this:
 
-{{{<servlet-mapping/>
-   <servlet-name>TestServletRequest</servlet-name>
-   <url-pattern>/</url-pattern>
+{{{<servlet-mapping/>
+   <servlet-name>TestServletRequest</servlet-name>
+   <url-pattern>/</url-pattern>
 </servlet-mapping>}}}
 
 and you request {{{http://localhost/MyWebApp/stupid/servlet/spec}}}, {{{then 
request.getServletPath()}}} should return {{{/stupid/servlet/spec}}}, but 
!WebSphere is returning {{{/}}}, which is IMHO wrong and this breaks Cocoon.
 
 A workaround for this is to do
 
-{{{<map:match pattern="document/index">
+{{{<map:match pattern="document/index">
   <map:redirect-to uri="{request:contextPath}/documents/index.html"/>}}}
 
 instead of
 
-{{{<map:match pattern="documents/index">
+{{{<map:match pattern="documents/index">
   <map:redirect-to uri="index.html" />}}}
 
 which resolves the path completly.
@@ -30,7 +30,7 @@
 Maybe this bug is fixed in some of those fixpacks. If not I will open a 
!WebSphere PMR (defect). I can do this.
 
 '''Two hours later''':[[BR]]
-=== WebSphere 5.0.1 has the same problem with  
==={{{request.getServletPath()}}}.
+!WebSphere 5.0.1 has the same problem with  {{{request.getServletPath()}}}.
 
 '''One day later''':[[BR]]
 Still no success to apply any of the fixpacks on Red Hat 9.0. Anyway, I just 
opened a PMR for this {{{request.getServletPath()}}} problem. Let's wait and 
see.

Reply via email to