Re: Browser Limited web application

2008-09-17 Thread Mark Thomas
karthikn wrote: > Hi > > Some experimentation was done for the same > > But some Browsers provide modification of "User-Agent" > > Is this fool proof ? No. Mark - To start a new topic, e-mail: users@tomcat.apache.org To uns

[OT] RE: Browser Limited web application

2008-09-17 Thread Peter Crowther
[Marked off-topic as this now has nothing to do with Tomcat] > From: karthikn [mailto:[EMAIL PROTECTED] > But some Browsers provide modification of "User-Agent" > > Is this fool proof ? No. You have no control over the client; you cannot determine what it really is, only what it says it is. AV

RE: Browser Limited web application

2008-09-17 Thread karthikn
apache.org Subject: Re: Browser Limited web application For # 1, try this in your filter: if(httpservletrequest.getHeader("User-Agent").indexOf("MSIE 6.0")!= -1) filterchain.doFilter(servletrequest, servletresponse); else

RE: Browser Limited web application

2008-09-17 Thread karthikn
n time With regards Karthik -Original Message- From: Ognjen Blagojevic [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2008 5:57 PM To: Tomcat Users List Subject: Re: Browser Limited web application Peter Crowther wrote: >> From: karthikn [mailto:[EMAIL PROTECTED] >

Re: Browser Limited web application

2008-09-17 Thread Ognjen Blagojevic
Peter Crowther wrote: From: karthikn [mailto:[EMAIL PROTECTED] Question 2: How to fetch the MAC address (Physical address) of the clients using web application ? You can not do this at the server. Some clients may not even have one - a computer with no network card using a

Re: Browser Limited web application

2008-09-17 Thread bhooshanpandit
For # 1, try this in your filter: if(httpservletrequest.getHeader("User-Agent").indexOf("MSIE 6.0")!= -1) filterchain.doFilter(servletrequest, servletresponse); else httpservletresponse.getWriter().print("This browser version is not supporte

Re: Browser Limited web application

2008-09-17 Thread Jim Cox
On Wed, Sep 17, 2008 at 6:58 AM, karthikn <[EMAIL PROTECTED]>wrote: > > Question 1 : How to implement a Filter in the application for Browsers > limitation >The web application should be visible only in IE-6 or > Fire Fox 2.0 ? > You can write & deploy a Filter that ex

RE: Browser Limited web application

2008-09-17 Thread Peter Crowther
> From: karthikn [mailto:[EMAIL PROTECTED] > Question 2: How to fetch the MAC address (Physical address) of > the clients using web application ? You can not do this at the server. Some clients may not even have one - a computer with no network card using a dial-up modem to a