problem whit applets

2002-08-01 Thread francisco zuluaga

hello!

I'm new in tomcat, I want use some applets as front-enf for my servlets but 
I had some problems:
I put the class  files into the directory:
/usr/local/tomcat/webapps/proyect/applets
and in my html file i put this line:
applet codebase=./applets code=client.class /applet
but it did not work
in my browser i had the error
client class not found
where i must put my class files and how I must do reference to this in the 
html file?

francisco






_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: problem whit applets

2002-08-01 Thread Ben Walding

The code parameter is case sensitive, so if your class is Client, 
code=Client.class should be used.  I don't believe suffixing the 
.class is required (at least not in modern browsers).

(The Sun recommendation is to capitalise the first letter of the class 
(and the first letter of any words in the classname), eg. MySillyClass)

francisco zuluaga wrote:

 hello!

 I'm new in tomcat, I want use some applets as front-enf for my 
 servlets but I had some problems:
 I put the class  files into the directory:
 /usr/local/tomcat/webapps/proyect/applets
 and in my html file i put this line:
 applet codebase=./applets code=client.class /applet
 but it did not work
 in my browser i had the error
 client class not found
 where i must put my class files and how I must do reference to this in 
 the html file?

 francisco






 _
 MSN Photos is the easiest way to share and print your photos: 
 http://photos.msn.com/support/worldwide.aspx


 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]






--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]