wood burning stoves 2.0*
The moose likes JSP and the fly likes Check for ActiveX from JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Check for ActiveX from JSP" Watch "Check for ActiveX from JSP" New topic

Check for ActiveX from JSP

Tony Miraglia

Joined: Sep 26, 2012
Posts: 1
I'm working on a project where I need to check from a JSP page if ActiveX is available to determine how a graphic will be displayed. This is for an application that has a preference saved in our database on how users want to view their graphics, but one of the methods only works with ActiveX. If ActiveX is not available through whatever browser a user is currently using, I need to overwrite the saved preference for the current session and display any graphics with the non-ActiveX method even if they prefer the other method.

I know through Javascript I can check for ActiveX, but I also know Javascript executes after the JSP code has already processed. Is there any way within JSP to determine if ActiveX is available on the browser currently accessing the page?
Sabarish Venkat
Ranch Hand

Joined: Jan 18, 2012
Posts: 136

Try using tag library in jsp to embed the <object> tags you use for your ActiveX.
I agree. Here's the link: http://aspose.com/file-tools
subject: Check for ActiveX from JSP
Similar Threads
text editor
Checking whether scripting is enabled on browser
Determining Java Plug-in status and version
How to detect browser settings?
How to detect browser settings?