I have a
JSF based web application using facelets (XHTML). It works perfect on
Tomcat. For demo purpose i deployed it on hosting server that uses apache web server integrated with tomcat. As i acces any xhtml page in IE it opens the Save dialog box to save the file reather than display it. In FireFox it display the file but no XHTML tag is parsed. So i guess currently apache server is trying to serve xhtml itself rather than fwding to tomcat and XHTML extension is not recognized.
I need two things to configure:
1- Configure apache to foward .xhtml requests to tomcat
2- Configure tomcat to server .xhtml files
For first if added follwoing lines to .htaccess file ( i don't have access to httpd.conf in shared hosting)
AddType application/xhtml+xml .xhtml
AddHandler jserv-servlet .xhtml
but it does work. Could you please share you experience what configurations i need to make it work at both Apache server and application web.xml etc
Thanks