Given an app directory like:

/myapp
  /pages
    /main.jsp
    /nav.jsp
    /content.jsp
  /WEB-INF
    /web.xml
    /classes
      /HierarchyServlet.java

How would I define my servlet-mappings to do the following:

- map any request of the form

   /myapp/any/path/to/a/page/main.jsp
   /myapp/any/path/to/a/page/nav.jsp
   /myapp/any/path/to/a/page/content.jsp

to the corresponding page in /myapp/pages 

- disallow direct access of the .jsp files in pages?

Thanks, 
Per



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to