This is a problem with some WAS 6 updates. I discovered this also when I 
updated my local test server from 6.0 to 6.0.2. WAS 6.0 base (the version that 
gets installed by default when you install WDSCi) works, but any upgrades 
caused it to fail.

They just recently released the patch that fixes this problem. The version is 
6.0.2.7

http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg24011539

WAS versions 6.0.1 to 6.0.2.6 have the Filter bug.

I updated my local test server to 6.0.2.7 and Filters started working agan.

hth

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx on behalf of Nancy Cochran
Sent: Fri 3/10/2006 10:26 AM
To: WEB400@xxxxxxxxxxxx
Subject: [WEB400] web.xml question

I have a web application that has 2 filters and a welcome file
configured in the web.xml.  The filters work when the url running the
app explicitly contains a page, i.e.  http://xxx/webapp/page.jsp.  If
the url doesn't contain a page, i.e. http://xxx/webapp/  the filters are
ignored, but the welcome page is found correctly.  What am I doing
wrong?  Here is my web.xml

<filter>
    <filter-name>Filter1</filter-name>
    <filter-class>Filter1</filter-class>
  </filter>
  <filter-mapping>
    <filter-name>Filter1</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>

  <filter>
    <filter-name>Filter2</filter-name>
    <filter-class>Filter2</filter-class>
      </filter>
   <filter-mapping>
    <filter-name>Filter2</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>

 <welcome-file-list>
  <welcome-file>page.jsp</welcome-file>
 </welcome-file-list>

--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.







NOTE: This electronic message and attachment(s), if any, contains information 
which is intended solely for the designated recipient(s).  Unauthorized 
disclosure, copying, distribution, or other use of the contents of this message 
or attachment(s), in whole or in part, is prohibited without the express 
authorization of the sender of this message.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.