>From: Hermod Opstvedt <[EMAIL PROTECTED]> > > Hi > > Found a solution. In my index.jsp I now do a jsp:forward instead of a > jsp:redirect. >
Another option might be to override the default suffix. I think you would still have to create a mime type for it on your web server but from the web.xml you might consider: <context-param> <param-name>org.apache.shale.clay.XML_TEMPLATE_SUFFIX</param-name> <param-value>.clayx</param-value> </context-param> <servlet-mapping> <servlet-name>faces</servlet-name> <url-pattern>*.clayx</url-pattern> </servlet-mapping> <mime-mapping> <extension>clayx</extension> <mime-type>text/html</mime-type> </mime-mapping> Gary > Med vennlig hilsen > Hermod Opstvedt > Webmaster > Seiling.org/Norlys.org > > > -----Opprinnelig melding----- > Fra: Hermod Opstvedt [mailto:[EMAIL PROTECTED] > Sendt: 19. mars 2006 13:59 > Til: 'Struts Developers List' > Emne: [shale] Problem serving Clay xml > > Hi > > I have run into a weird problem. When I run my access my application through > Tomcat, accessing index.xml works just fine. Now I am about to put on the > air a test site that has a Apache 2 front end I run into problems. As far as > I can tell this has to do with the mime-type. When I access it through > Apache 2 I get errors. In Firefox it is not running the javascripts > properly, and in IE it complains about the jsf rendered ID's not being valid > XML. > > Has anybody a solution for this? > > > Hermod > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >