You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Am...@softv.net on 2001/08/23 18:52:06 UTC

Trying to use BrowserHawk4j

To Whom It May Concern:
	I am trying to use the javabean version of BrowserHawk, called
BrowserHawk4J. I am simply trying to import the BrowserHawk class,
like so:
<%@ page import = "com.cyscape.browserhawk.*" %>

and it gives me the following error in my jsp page:

org.apache.jasper.JasperException: Unable to compile
E:\myTomcat\tomcat\work\DEFAULT\JSPTest\jsptest_1.java:4: Package
com.cyscape.browserhawk not found in import.
import com.cyscape.browserhawk.*;

I have BH installed at e:\program files\browserhawk and I have my
CLASSPATH variable set to:
C:\jdk1.3.1\lib\tools.jar;e:\program
files\browserhawk\lib\bhawk4j.jar;.;e:\program files\browserhawk\lib;

Does anybody have any ideas of what the problem might be? Or does this
seem like a BrowserHawk problem? Thanks.


Amanda Bennett
Web Developer
E-mail: amanda@sofTV.net


RE: Trying to use BrowserHawk4j

Posted by Mike Jackson <mj...@cdi-hq.com>.
Try moving the jar files to the lib directory in tomcat.  If that fixes
it then it's probably the spaces in the classpath.  Or it's just not
finding the files for some reason.

--mikej
-=-----
mike jackson
mjackson@cdi-hq.com 

> -----Original Message-----
> From: Amanda@softv.net [mailto:Amanda@softv.net]
> Sent: Thursday, August 23, 2001 9:52 AM
> To: tomcat-user@jakarta.apache.org
> Subject: Trying to use BrowserHawk4j
> 
> 
> To Whom It May Concern:
> 	I am trying to use the javabean version of BrowserHawk, called
> BrowserHawk4J. I am simply trying to import the BrowserHawk class,
> like so:
> <%@ page import = "com.cyscape.browserhawk.*" %>
> 
> and it gives me the following error in my jsp page:
> 
> org.apache.jasper.JasperException: Unable to compile
> E:\myTomcat\tomcat\work\DEFAULT\JSPTest\jsptest_1.java:4: Package
> com.cyscape.browserhawk not found in import.
> import com.cyscape.browserhawk.*;
> 
> I have BH installed at e:\program files\browserhawk and I have my
> CLASSPATH variable set to:
> C:\jdk1.3.1\lib\tools.jar;e:\program
> files\browserhawk\lib\bhawk4j.jar;.;e:\program files\browserhawk\lib;
> 
> Does anybody have any ideas of what the problem might be? Or does this
> seem like a BrowserHawk problem? Thanks.
> 
> 
> Amanda Bennett
> Web Developer
> E-mail: amanda@sofTV.net
> 

RE: Trying to use BrowserHawk4j

Posted by "Miles I. Daffin" <md...@infpwr.com>.
Find the jar (or zip?) file containing the browserhawk
class files (in particular com.cyscape.browserhawk.*).
Place a copy of this archive in the host webapp's WEB-INF/lib
directory.

Then redeploy the webapp, restart TC and try again.

Miles 

> -----Original Message-----
> From: Amanda@softv.net [mailto:Amanda@softv.net]
> Sent: Thursday, August 23, 2001 5:52 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Trying to use BrowserHawk4j
> 
> 
> To Whom It May Concern:
> 	I am trying to use the javabean version of BrowserHawk, called
> BrowserHawk4J. I am simply trying to import the BrowserHawk class,
> like so:
> <%@ page import = "com.cyscape.browserhawk.*" %>
> 
> and it gives me the following error in my jsp page:
> 
> org.apache.jasper.JasperException: Unable to compile
> E:\myTomcat\tomcat\work\DEFAULT\JSPTest\jsptest_1.java:4: Package
> com.cyscape.browserhawk not found in import.
> import com.cyscape.browserhawk.*;
> 
> I have BH installed at e:\program files\browserhawk and I have my
> CLASSPATH variable set to:
> C:\jdk1.3.1\lib\tools.jar;e:\program
> files\browserhawk\lib\bhawk4j.jar;.;e:\program files\browserhawk\lib;
> 
> Does anybody have any ideas of what the problem might be? Or does this
> seem like a BrowserHawk problem? Thanks.
> 
> 
> Amanda Bennett
> Web Developer
> E-mail: amanda@sofTV.net
> 
>