--- Uijin Hong <[EMAIL PROTECTED]> wrote:
> Why don't you just run 2 servlet container(Tomcat)s
> for each port?
>
That could get memory expensive if you have to do this
for several ports.
The best performance scenario might be to use Apache
to listen to several ports and rewrite them to go to a
single tomcat 'delegator' servlet which then
dispatches them to servlets/JSPs appropriately. And
actually, you should just use apache rewrites directly
to dispatch to any static resources.
Mel
> -----Original Message-----
> From: William Wishon
> [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 06, 2001 9:27 AM
> To: [EMAIL PROTECTED]
> Subject: Assigning Servlets to different ports.
>
>
> Hi,
>
> <snipped>
>
> An example of what I'm trying to do is to have a GET
> on "/" of port 8080
> return webapps/app1/index.html and a GET of "/" on
> port 8081 return
> webapps/app2/index.html.
>
> Thanks,
> Bill
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, email:
> [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, email:
> [EMAIL PROTECTED]
>
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]