--

I am trying to invoke a servlet when a file with a given extension
is requested. This works, but the HttpRequest.getPathTranslated() operation 
appears to be broken.

The problem can be demonstrated trivially. Add

ApJServAction .java /servlets/SnoopServlet

so that the JServ-supplied SnoopServlet is called when a java file is requested.
All it does is print out the servlet environment. Check the value
returned for getPathTranslated. For me, it isn't translated. It's junk.

The platform is Windows, running Apache 1.3.6, and JServe 1.0. This
is the reason why neither JServSSI or GNUJSP work for me - both use
getPathTranslated().

If the problem arises in the value of the underlying PATH_TRANSLATED
environment variable, is there something I need to do to Apache 
to make it come up with the correct answer? Does anyone else on Windows have 
this problem?

Cheers,
Colin Low


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to