I 'm using Apache + TomCat.
I 'm developing a very simple servlet that takes an xml file for imput,
reads its <xml:stylesheet...> tag, loads the associated XSL and
outputs plain HTML.

The question is: is there any way I can configure Apache or Tomcat
to be able to redirect any request made to a static file with extension
.xml to my servlet ?

The point is: I have my server full of static XML files. Till now, users
point their browsers to http://myserver.com/anyfile.xml and they get
the xml file. But, of course, they need IE 5 with MSXML 3.0 installed.

Can I configure the server in a way that the same URL redirects the
user to, for example:

http://myserver.com/servlet/myservlet?file=anyfile.xml ?

TIA,

Martin

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to