1 Reply Latest reply on Jul 10, 2002 4:52 AM by Frode Halvorsen

    Error in servlet -> JSP redirect ?

    Frode Halvorsen Newbie

      I have an app with a servlet and a JSP.

      The servlet is mapped to the root of the webapp, thus is mapped in the same 'catalog' as the jsp's.

      http://host.name/app-name/servlet-name
      http://host.name/app-name/jsp-name

      The jsp creates hrefs back to the servlet, and those are programmed without any prefixes (a href="servlet-name?paramlist").

      This laso works fine under IBM WAS, and Apache with tomcat. But with JBoss the a-href's are generated with WEB-INF/ first :
      a href="WEB-INF/servlet-name?paramlist"

      Is this a bug, or is it an programmatic feature I have to take into considreation ?

      BTW I am using JBoss 1.3.1 RC 1