Hi Senthil Raja,
For ur Question # 1:
You can use "request.getRemoteAddr()" or
"request.getRemoteHost()" for knowing abt Client IP
address and host name.
For ur Question # 2:
I am not sure abt Tomcat 5.0. But in Tomcat 4.x, I
used follwoing setting in
<tomcat-dir>\conf\server.xml.
<Context path="/Raja" docBase="raja_webapp"
debug="0"/>
I hope this may help in solving your problems.
Good luck - Kura
--- S Senthil Raja <s_senthil_raja@(protected):
> Dear sir,
> I'm using Tomcat 5.0 connected so many clients,
> in this I can able see
> server status http://localhost/manager/status.What I
> want to know is that
> (1) How can I know from which IP the request is
> coming, is there any
> provicency to see clients IP address and status
> (2)I want to show only my home page to clients , for
> example
> http://10.0.0.23/Raja ok ,If they will type like
> this http://10.0.0.23/,
> they can see Tomcat homepage that I want to
> restrict.
>
> Thanks and regards.
>
> -Raja.
>
>
_________________________________________________________________
> Call your NRI friends.Introduce them to Citibank
> RCA.
>
http://server1.msn.co.in/sp03/diwali/rca/referrca.asp
> Win 2 tickets to visit
> them abroad.
>
>
===========================================================================
> To unsubscribe: mailto listserv@(protected)
> body: "signoff JSP-INTEREST".
> For digest: mailto listserv@(protected):
> "set JSP-INTEREST DIGEST".
>
> Some relevant archives, FAQs and Forums on JSPs can
> be found at:
>
> http://java.sun.com/products/jsp
> http://archives.java.sun.com/jsp-interest.html
> http://forums.java.sun.com
> http://www.jspinsider.com
__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/
===========================================================================
To unsubscribe: mailto listserv@(protected)".
For digest: mailto listserv@(protected)".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com