Programmatically assign servlet mappings

2004-09-08 Thread SH Solutions
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

RE: Programmatically assign servlet mappings

2004-09-08 Thread Shapira, Yoav
Informatics -Original Message- From: SH Solutions [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 2:58 PM To: 'Tomcat Users List' Subject: Programmatically assign servlet mappings Hello I want to archive the following: I want to start my application using some

Re: Programmatically assign servlet mappings

2004-09-08 Thread Tim Funk
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

Re: Programmatically assign servlet mappings

2004-09-08 Thread John Villar
My suggestion, change your design: Have a servlete that instantiates some specialized class based on the content type Apply the Strategy Pattern here simple, elegant and robust SH Solutions escribió: Hello I want to archive the following: I want to start my application using some

Re: Programmatically assign servlet mappings

2004-09-08 Thread QM
On Wed, Sep 08, 2004 at 03:05:38PM -0400, Tim Funk wrote: : 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. -or, a twist on this: look into the Front Controller pattern. You can make