File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
jQuery in Action, 2nd edition
 
subject: Checking if browser supports JAVASCRIPT and COOKIES...
 
Similar Threads
detech javascript enabled server-sice
reloading issue
Please help me.
automatic form submit
document.write