holmBrew
Official Volunteer
how would i check this string:
Mozilla/4.0 (compatible; MSIE 5.12; Mac_PowerPC)
with java for the existence of the String "MSIE"
i want to do something like...
if (request.getHeader("User-Agent").contains("MSIE"))
{
..do something..
} else {
..do something else..
}
btw - this is in a JSP....
thanks,
jason
Mozilla/4.0 (compatible; MSIE 5.12; Mac_PowerPC)
with java for the existence of the String "MSIE"
i want to do something like...
if (request.getHeader("User-Agent").contains("MSIE"))
{
..do something..
} else {
..do something else..
}
btw - this is in a JSP....
thanks,
jason