I understand that I can map HTML files such that the JSP engine treats files with .html extensions the same as they do for .jsp files. However, what I wish to do is more precise than that. I want my JSP engine, Tomcat 5.5, to treat only those HTML files in a specific subdirectory, SecAuth, as JSP files.
I added the following in Tomcat's web.xml file and it did not work (in fact, an error ensued):
<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>SecAuth/*.html</url-pattern>
</servlet-mapping>
Is it clear what I'm trying to accomplish? Any help would be appreciated.
Thank you.