hi everybody,
this is kind of off-topic because this qeustion has nothing to do with
servlets directly, but with webapplications. I didn't find a list
spezialized to webapplications, searched the archives, google, jguru,
jars,... even asked at hotdispatch.com , so I thought I ask here.
I wrote a webapplication where i use servlets to display the data for normal
users, and I want to use an Applet to enable authorized users to change the
data...
Everything works wonderful: I wrote a java application which does all that,
and now i converted it to an applet and try do deploy it in my
webapplication.
I can get the applet (main class: maw.jgr.config.ConfigApplet) running by
putting its class files into <server's
webapp-dir>/jgr/maw/jgr/config/ConfigApplet.class and in my html documents I
set codebase to . or .. or http://myHost/jgr . The first problem with this
is that the user could download the class file directly by typing
http://myHost/jgr/maw/jgr/config/ConfigApplet.class, but the second problem
(even worse) is that I have to copy all classes my applet needs from my
<server's webapp-dir>/jgr/WEB-INF/classes/... directory (where all servlets
and stuff is at) to <server's webapp-dir>/jgr/maw/jgr/ i.e. where the
applet is saved in...
My question is: How do I need to set the codebase in my html documents if I
chose to save my class files in <server's
webapp-dir>/jgr/WEB-INF/classes/... ?
Thanks for your help in advance!
Michael Weller
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html