users
[Top] [All Lists]

Sitemesh and servlet filters on Websphere 5.01

To: users@xxxxxxxxxx
Subject: Sitemesh and servlet filters on Websphere 5.01
From: bill.manuel@xxxxxxxxxx
Date: Thu, 10 Feb 2005 15:11:53 -0500
Delivered-to: mailing list users@cinjug.org
Mailing-list: contact users-help@cinjug.org; run by ezmlm



Does anyone have experience using sitemesh on websphere 5.01?  I am
currently using sitemesh without a glitch on our Websphere 5.01 servers.
Now I am trying to add an additional serverlet and everything is going
haywire.  I have the sitemesh filter mapping covering all pages.  My other
filter catches all struts actions.  This works perfectly on tomcat 5.0.28.
When I deploy to Websphere, sitemesh decorates my page fine except the page
being decorated is duplicated to the right of the decorated page.
(confused yet?).

Below is a fragment from my web.xml file that shows the filter mapping.

<code>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
      ..... other stuff
   <filter-mapping>
        <filter-name>sitemesh</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>

      <filter-mapping>
      <filter-name>securityFilter</filter-name>
      <url-pattern>*.do</url-pattern>
    </filter-mapping>
      ... more stuff
</code>

Lets assume that the securityFilter only runs the following code in the
doFilter method:
<code>
      chain.doFilter(request, response);
</code>


Any help would be greatly appreciated.

Bill Manuel
Sun Certified Web Component Developer
Supply Chain Systems
The Kroger Co.
bill.manuel@xxxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>