I have Front-Controller Servlet that fowards all requests to jsp's located outside the application war. So, for example,
http://localhost/myapp/test.jsp is actually a jsp located at (on windows) c:/content/client1/pages/test.jsp.
The issue is that I have the following in my web.xml:
...
<servlet>
<servlet-name>FrontServletController</servlet-name>
<servlet-class>com.diginsite.product.webcenter.website.FileController</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>FrontServletController</servlet-name>
<url-pattern>*.jsp</url-pattern>
</servlet-mapping>
<jsp-config>
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<scripting-invalid>true</scripting-invalid>
</jsp-property-group>
</jsp-config>
...
However, the c:/content/client1/pages/test.jsp file does contain a scriptlet and it is working fine. Removing the FrontServletController and accessing a jsp containing a scriptlet within the webapp results in the desired error. I've also attempted changing the url pattern of the jsp-property-group directly to /*/*/*/test.jsp with no luck as well as changing the url-pattern of the servlet to *.myext.
Using Tomcat 5.5.17.
Any other ideas? Any changes I should be making to server.xml?
Thank you
[ May 01, 2007: Message edited by: Erron Austin ]