Applet Problems

2002-01-17 Thread Purcell, Scott

Hello,

I am having trouble running any applets from on my tomcat server on my NT
box. I truly believe I have all my classpaths configured properly, as I can
run any type of servlet or bean. If I create a simple java file under
/root/web-inf/classes/clock.class (which is in my classpath), then take a
html file and put it in the /root folder and call that .html file, I always
get a class not found error.

Do I need to put /servlet.clock.class in my applet tag? I tried that with
no success. I am missing something simple and could use some assistance with
this.

Thanks, 

Scott Purcell


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Applet Problems

2002-01-17 Thread David Smith

Applets are downloaded by the browser, and as such have to be accessible to 
the client.  Clients can not directly access anthing under WEB-INF per the 
servlet spec.  So you'll have to find a place to put them outside WEB-INF or 
have a servlet of some kind serve them to the client (if authorization is a 
concern).

Hope this helps you out

--David

On Thursday 17 January 2002 10:49 am, you wrote:
 Hello,

 I am having trouble running any applets from on my tomcat server on my NT
 box. I truly believe I have all my classpaths configured properly, as I can
 run any type of servlet or bean. If I create a simple java file under
 /root/web-inf/classes/clock.class (which is in my classpath), then take a
 html file and put it in the /root folder and call that .html file, I always
 get a class not found error.

 Do I need to put /servlet.clock.class in my applet tag? I tried that with
 no success. I am missing something simple and could use some assistance
 with this.

 Thanks,

 Scott Purcell


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]