I'm using sitemesh with struts 2 on tomcat 5.5.17. Alright I have a decorator that is a JSP file. Now when the requested page comes through it is a plain old HTML page
http://localhost:8080/mycontext/product/myProduct/docs/index.html Now the sitemsh filter and struts 2 filters are both mapped to /* so they both filter this. When my JSP decorator is applied to the html page I tried this: <%=request.getContextPath()%> and it never prints out. However the jsp tags in the JSP decorator are evaluated so I end up with decorated jsp page. I've checked that I have my web.xml correctly configured to allow JSP scriplets. Also if I request a JSP page instead of a HTML page then <%=request.getContextPath()%> evaluates fine. (In fact it is the same decorator JSP) Is there something different about the request of a JSP page vs a HTML page? Shawn --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]