Re: Sitemesh problem running on WebSphere App Server 6

Joe Walnes <[email protected]> Fri, 19 Aug 2005 16:29:35 +0100
Newsgroups gmane.comp.web.sitemesh.general,gmane.comp.lang.pnuts.user
Message-ID <[email protected]>
A thought.... the Servlet 2.4 spec has become much more defined about
when a filter is to be applied, and I believe the latest version of
WebSphere supports this.

You could try being more specific about the types of dispatchers the
SiteMesh filter should be applied to:

<filter-mapping>
  <filter-name>sitemesh</filter-name>
  <url-pattern>/*</url-pattern>
  <dispatcher>FORWARD</dispatcher>
  <dispatcher>REQUEST</dispatcher>
  <dispatcher>INCLUDE</dispatcher>
</filter-mapping>

-Joe

On 8/19/05, campers <[email protected]> wrote:
> Have you managed a workaround for this? You could always have the welcome-file map to index_redirect.jsp then have that redirect to index.jsp.
> 
> I'm just looking at porting an app from tomcat to websphere 6 now. Its not recognising the decorator tags so the the resulting HTML has <decorator:body /> in it and no real content.
> 
> ---------------------------------------------------------------------
> Posted via Jive Forums
> http://forums.opensymphony.com/thread.jspa?threadID=5393&messageID=13246#13246
> 
> 
> ---------------------------------------------------------------------
> 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]