tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: Programmatically assign servlet mappings
Date Wed, 08 Sep 2004 19:05:38 GMT
You'll need at least 1 servlet and servlet mapping. From there, that servlet 
can dynmically dispatch as needed. See the invoker servlet on how to do so.


-Tim

SH Solutions wrote:

> Hello
> 
> I want to archive the following:
> 
> I want to start my application using some ContextListener.
> Then my application shall register the required servlet-mappings.
> In my web.xml I do NOT want to have any servlet-mappings at all.
> 
> The reason for this is, that my cms system serves different content types
> with different servlets. One servlet per type. Additionally every servlet is
> a module, managed by my cms system.
> Basically this means, that I do not know, which modules and hence, which
> servlets need to be mapped, if any.
> 
> Is there a way to do this?
> I assume yes, because embedded tomcat need such things too, I think.
> 
> Additionally, is there a way to do this container independent - is there a
> servlet-api way to do it?
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message