tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pier Paolo Bortone" <>
Subject Re: Servlet Mappings and what am I doing wrong.
Date Wed, 13 Dec 2000 15:21:36 GMT
How are you using tomcat? Standalone or with Apache + mod_jk?

There is a little difference.
  ----- Original Message ----- 
  From: Andrew Oliver 
  Sent: Wednesday, December 13, 2000 3:42 PM
  Subject: Servlet Mappings and what am I doing wrong.

  I have some legacy code that uses its own non-jsp tag

  The following is my web.xml file put in 

  webapps/myapp/WEB-INF dir

  The attempt is to map files with the extension *.msp
  to the RouterServlet.  Unfortunately this is not
  happening, if I goto the directory and do an msp file
  it lists it as text.  I then tried to do the same with
  the entire directory (hence the second mapping).

  What else do I need?  What am I doing wrong?  (This
  used to use JServ ApJServAction but I'm attempting to
  move to Tomcat3.2 and the new connector) and migrate
  toward a standard system.  

  Please note I've genericised all filenames/ips in
  this.  If there is a site called, I'm not
  affilliated with it.  I was trying to be generic.



  <?xml version="1.0" encoding="ISO-8859-1"?>

  <!DOCTYPE web-app
      PUBLIC "-//Sun Microsystems, Inc.//DTD Web
  Application 2.2//EN"



           <!-- Define the context-relative URL(s) to be
  protected -->
           <!-- If you list http methods, only those
  methods are protected -->
           <!-- Anyone with one of the listed roles may
  access this area -->

      <!-- Default login configuration uses BASIC
  authentication -->
        <realm-name>Example Basic Authentication

      <!-- If you want to experiment with form-based
  logins, comment
           out the <login-config> element above and
  replace it with
           this one.  Note that we are currently using a
           authentication method, because the code to
  support form
           based login is incomplete and only lightly
  tested.  -->
        <realm-name>Example Form-Based Authentication


  Do You Yahoo!?
  Yahoo! Shopping - Thousands of Stores. Millions of Products.

View raw message