> I do not fully understand your question. Especially
> not which files you want to parse?
>
> If you want extensions other than ".jsp" to be
> handled by the JspServlet you simply have to change
> the servlet-mapping element of the default-web.xml
> for the JspServlet. This is the Servlet that takes
> care of JSPs, triggers their transformation to
> Servlets and so on. The default-web.xml can be found
> in the config-directory of your domain. E.g.
> GF_HOME/domains/domain1/config/default-web.xml
Okay, I find this element:
<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>*.jspx</url-pattern>
</servlet-mapping>
1) I thought the extension was just .jsp (not .jspx)?
2) Would this add my own extension .xyz?
<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>*.jspx</url-pattern>
<servlet-name>jsp</servlet-name>
<url-pattern>*.xyz</url-pattern>
</servlet-mapping>
> Now .htaccess makes me wonder even more what your
> question is about. Isn't .htaccess only about access
> restrictions? So what has it to do with parsing
> files? Maybe you can explain a bit more which files
> you want to parse, what role access restrictions
> shall play and how any other configuration might help
> by that.
See
http://httpd.apache.org/docs/2.2/mod/mod_mime.html#addhandler - .htaccess is for the people who can't get to httpd.conf, and I think it will take most of the same directives (if httpd.conf will let it).
[Message sent by forum member 'jesdisciple' (jesdisciple)]
http://forums.java.net/jive/thread.jspa?messageID=273360