You must move the Applet code out of the web-inf directory. Tomcat
doesn't allow anything in this directory to be published through the
HTTP/AJP connections (its for security purposes).
So following your conventions, you probably want to create a
directory called /fundopt/applet and put your applet code in there and then
use codebase="../applet/".
Randy
-----Original Message-----
From: Jost, Dominique [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 02, 2001 9:45 AM
To: '[EMAIL PROTECTED]'
Subject: loading applet from web-inf/classes sunfolder
hi
my home-directory on the tomcat server looks like this
http://localhost:8080/fundopt. under fundopt i have a folder (called jsp)
containing all my jsp files.
i want to acces an applet (which has its source files in the
web-inf/classes/xy folder) with the following piece of code:
from jsp file (in http://localhost:8080/fundopt/jsp/appletCaller.jsp)
<applet CODE=myApplet.class codebase=../classes/xy/ width="100"
height="100">. this however doesn't work.
how can i address the applet? what codebase am i to choose?
any help is appreciated
regards
dominique jost
server xml:
<Context path="/fundopt"
docBase="webapps/fundopt"
crossContext="false"
debug="0"
reloadable="true" >
</Context>
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify the
sender. You must not, directly or indirectly, use, disclose, distribute,
print, or copy any part of this message if you are not the intended
recipient. CREDIT SUISSE GROUP and each of its subsidiaries each reserve
the right to monitor all e-mail communications through its networks. Any
views expressed in this message are those of the individual sender, except
where the message states otherwise and the sender is authorised to state
them to be the views of any such entity.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]