On Tue, 12 Mar 2002, Glenn Nielsen wrote:

> Why?  This is a minor change that IMO fixes a problem.
> The example JkMount /servlet/* doesn't work with Tomcat.  There needed to be
> a way to easily configure passing of servlet requests to Tomcat without having
> to configure it for each Context Path.

The real fix is to process web.xml and configure automatically all the 
(right) mappings. This is required by the servlet spec - /*/servlet/* is 
just hiding the problem for some cases.

Right now autogeneration of mappings works with both 3.3 and 4.0, if 
something is missing or can be improved - I'm +1, if you want more 
automation or protocol-based config of mappings - +1 ( not easy, but
can be done ). If you want to automatically read web.xml and extract 
mappings - that's fine too :-) 

Simplifying the config very important - and the AutoAlias is an excelent 
example. 

As I said, I am ok with enhancing AutoAlias to add automatically rules
for /path/servlet/*, *.jsp, /path/WEB-INF/* and /path/META-INF/*.
That would have almost the same effect as your proposal.
 
Costin


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to