I need JSP files to be reachable, in a web app that
has a servlet mapped to the top of the context.  The
servlet works great.  But any calls to JSP files in
the path I am looking for them in does not work. 
Examples following are from a webapp folder called
"content":

The following properly calls my servlet:

/content/[anytext but templates]/ 

I want this to call the test.jsp file in the
webapps/content/templates folder:

/content/templates/test.jsp

Here goes my web.xml file:

<servlet>
  <servlet-name>
    MyServlet
  </servlet-name>
  <servlet-class>
    org.mypackage.www.MyServlet
   </servlet-class>
</servlet>
<servlet-mapping>
  <servlet-name>
     MyServlet
  </servlet-name>
  <url-pattern>
    /*
  </url-pattern>
</servlet-mapping>

<servlet>
  <servlet-name>
    myJSP
  </servlet-name>
  <servlet-class>
    org.apache.jasper.runtime.JspServlet
  </servlet-class>
</servlet>

<servlet-mapping>
  <servlet-name>
    myJSP
  </servlet-name>
  <url-pattern>
    /templates/*
  </url-pattern>
</servlet-mapping>


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to