0 Replies Latest reply on Jul 8, 2003 3:14 AM by mafti

    url-mapping question

    mafti Newbie

      Hi there,

      i have an web.xml url-mapping question.
      i want /* mapped to a servlet, but not my
      jsp's.

      thus examples:
      /foo -> servlet
      /index.jsp -> just the jsp
      /foo/test.jsp -> just the jsp
      /foo/bar -> servlet
      / -> servlet
      etc.

      how do i do this?
      if i map /* to my servlet i get a recursion, because i forward "everything" to a jsp, and that gets mapped to my servlet again...

      T.