Forum Moderators: coopster & phranque

Message Too Old, No Replies

.jsp to .html

         

toolman

3:32 am on Feb 25, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is it possible to use the .htaccess file to parse .jsp pages as .html like you can with php and ssi's?

sugarkane

9:01 am on Feb 28, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It certainly looks like it under Apache / Tomcat - this is the relevant section of the httpd.conf file:

#################### All jsp files will go to tomcat
ApJServMount default /root
AddType test/jsp .jsp
AddHandler jserv-servlet .jsp

Presumably you could change .jsp to .html, add it to .htaccess and you're away...