servlet filter problem

Discussion in 'Java' started by polilop, May 21, 2007.

  1. polilop

    polilop Guest

    I have an web application. Develop it in RAD, which has IBM WebSphere
    Application Server, 6.0.0.0
    .. I deploy the application on IBM WebSphere Application Server - Express,
    6.0.2.5 on AS400
    In my application i am using a authentication filter, which look's up if the
    user is on the domain, and then in my servlet i look up the users
    credentials, if it has none redirect him to non authorotive page. The
    problem is when i test it local, works fine, filter checks if user exists,
    if not prompts for domain user and password, but when i deploy it on my
    AS400 my servlet gets called before the filter. Is there a reason for this?
    i thought filters allways intercepted request's?
     
    polilop, May 21, 2007
    #1
    1. Advertising

  2. polilop

    polilop Guest

    "polilop" <> wrote in message
    news:f2se7g$oel$-com.hr...
    >I have an web application. Develop it in RAD, which has IBM WebSphere
    >Application Server, 6.0.0.0
    > . I deploy the application on IBM WebSphere Application Server - Express,
    > 6.0.2.5 on AS400
    > In my application i am using a authentication filter, which look's up if
    > the user is on the domain, and then in my servlet i look up the users
    > credentials, if it has none redirect him to non authorotive page. The
    > problem is when i test it local, works fine, filter checks if user
    > exists, if not prompts for domain user and password, but when i deploy it
    > on my AS400 my servlet gets called before the filter. Is there a reason
    > for this? i thought filters allways intercepted request's?
    >

    i have foud that i am redirecting from my index.jsp to an struts mapping,
    and somwhere on the line my
    filter get's skipped, as it's url mapping is to /*, if i put *.do it dose
    not work, so if anybody
    had a similar problem with struts, welcome page and filters pls help
     
    polilop, May 21, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. javaguy44
    Replies:
    0
    Views:
    542
    javaguy44
    Apr 1, 2004
  2. javaguy44
    Replies:
    0
    Views:
    2,726
    javaguy44
    Apr 1, 2004
  3. circuit_breaker
    Replies:
    2
    Views:
    2,084
    Jack Jia
    Apr 4, 2004
  4. Ryan Stewart
    Replies:
    11
    Views:
    5,903
    Roedy Green
    Jun 10, 2004
  5. zax75
    Replies:
    1
    Views:
    1,135
Loading...

Share This Page