aspose file tools*
The moose likes Servlets and the fly likes Checking if browser supports JAVASCRIPT and COOKIES... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Checking if browser supports JAVASCRIPT and COOKIES..." Watch "Checking if browser supports JAVASCRIPT and COOKIES..." New topic
Author

Checking if browser supports JAVASCRIPT and COOKIES...

Sebastian Milczanowski
Greenhorn

Joined: Aug 22, 2001
Posts: 1
Hi,
is there a chance with the aid of JSP to check whether
the browser supports JavaScript and Cookies or not and
send this information by email
My Idee was like this - is there myabe a better Solution?
<script language="JavaScript">
<!--
if(navigator.javaEnabled()){
document.write( "<input type='hidden' name='javaStatus' value='JAVA'></input>" );
}else{
document.write( "<input type='hidden' name='javaStatus' value='NO JAVA!'></input>" );
}
//-->
</script>
<input value="Submit" type="submit"></input>
</form>
Sebastian
Germany 08/22/01
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Checking if browser supports JAVASCRIPT and COOKIES...