Q
|
Is there any way to programmatically check whether BrowwerHawk4J is installed correctly using JSP code.
|
A
|
Yes, simply try instantiating the BrowserHawk4J object from your JSP or servlet in a try/catch block. If you receive a NoClassDef exception, then you know BH4J is not installed. Otherwise if you receive a valid object, you know it is installed correctly.
|