tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <>
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.


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:
For additional commands, e-mail:

View raw message