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 supported!!!");

This will ensure that your app is only accessible on IE 6.

-----Original Message-----
From: karthikn <[EMAIL PROTECTED]>
To: users@tomcat.apache.org <users@tomcat.apache.org>
Sent: Wed, 17 Sep 2008 4:28 pm
Subject: Browser Limited  web application










Hi

Spec :  TOMCAT 6.0.18
O/s    :  HP UNIX 11i
J2SDK : j2sdk1.6  or jre 1.6


An application deployed on the env  as 'XYZ.war'

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  ?

Question 2:  How to fetch the MAC address (Physical address) of
                 the clients using web application  ?


Note:- Spent 3 days on Google / yahoo for the same ....yet no answers.


Please  suggest me ...

With regards
Karthik








________________________________________________________________________
You are invited to Get a Free AOL Email ID. - http://webmail.aol.in


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to