You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Martin Mc Atamney <ma...@hotmail.com> on 2002/09/13 05:14:04 UTC
Applet Codebase From Servlet
I have a servlet which produces straight HTML. In the HTML I'd like to
embed an applet tag. My servlet is in com.test.servlet, my applet in
com.test.applet.
I set the code value in the applet tag to "test.class", but after trying
various combinations for codebase I still getting a FileNotFound exception
when a browser tries to load my applet.
Am I missing something. I am using jakarta-tomcat-4.0-b5
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Applet Codebase From Servlet
Posted by Bojan Smojver <bo...@rexursive.com>.
There is no difference between the HTML generated by the servlet and a static
HTML file. So, cut yourself a static HTML file (handy for testing), put the
applet tag in there and watch the web server log files to see what is the actual
requested URL. Once you know that, fix it accordingly and you'll be laughing.
Bojan
Quoting Martin Mc Atamney <ma...@hotmail.com>:
> I have a servlet which produces straight HTML. In the HTML I'd like to
> embed an applet tag. My servlet is in com.test.servlet, my applet in
> com.test.applet.
>
> I set the code value in the applet tag to "test.class", but after trying
> various combinations for codebase I still getting a FileNotFound exception
> when a browser tries to load my applet.
>
> Am I missing something. I am using jakarta-tomcat-4.0-b5
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>