Yes Anton,in my case as you said it's enough to have only Tomcat4.
But if I'll configure Tomcat4 running alone,listening port 80,
what should i do to redirect all my requests directly (not using in 
middle any html or jsp) to only one servlet Myservlet?
Please give me some examples or links with examples?

Anton Brazhnyk wrote:

> Hi,
> 
> 
>>-----Original Message-----
>>From: Odo [mailto:[EMAIL PROTECTED]]
>>Sent: Friday, February 08, 2002 11:33 AM
>>To: Tomcat Users List
>>Subject: Default Servlet
>>
>>
>>Dear gurus.
>>I am running Apache+Tomcat4.
>>
>>Please help me on the following:
>>1.How should I configure tomcat and apache to run on the same port 80.
>>
> 
> No way, only one application can listen specific port on specific IP.
> 
> 
>>2.If both in port 80, How should I configure apache that every request
>>like http://test.myserver.com will be redirected to only one servlet
>>http://test.myserver.com/servlet/Myservlet not using web.xml's welcome?
>>
>>
> 
> You should set your servlet as default one for default context.
> You can define default context in server.xml or just use ROOT,
> and you should map your servlet to "/" in your web.xml
> Try with docs or ask again for xml samples.
> And it looks like you don't need Apache at all if you want ALL requests
> go to Tomcat.
> 
> 
>>(In my case I ought not use web.xml because I want every request should
>>passed to servlet Myservlet only directly!)
>>
>>
>>
>>
> 
> Anton
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> 
> 



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to