Using common sitemesh decorators for all web apps

Jonathan <[email protected]> Wed, 15 Jun 2005 17:09:27 CDT
Newsgroups gmane.comp.web.sitemesh.general
Message-ID <23500249.1118873479311.JavaMail.os-j2ee@opensymphony01.contegix.com>
OK I got it all working finally!!!

The problem with sitemesh not decorating my page was that I had not set a contentType in the HttpServletResponse of the HttpProxyServlet

response.setContentType("text/html");

Once I did that, it all started working beautifully.

If anyone wants to see my proxy servlet class, to use as a starting point, let me know. and I will post it as well as the servlet configuration needed to run it.

---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=1454&messageID=8657#8657


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]