I had a whole applet/servlet architecture set up that
used a static HTML file served from gthe web server to
load the applet into the browser.
For a number of reasons (parameters) I substituted the
static page for a servlet generated page and lo and
behold, the Java Plugin cannot find the applet's JAR
file. I was using a CODEBASE of "." in both cases,
since the JAR file resided in the default HTML
directory of the web server.
I peer closer at the documentation for applet tags and
it says:
"By default, a browser looks for an applet's class and
archive files in the same directory as the HTML file
that has the <APPLET> tag. "
So I got around the problem by using an absolute URL
for the CODEBASE ie. http://myserver:80/
My question is, when a page is dynamically generated
by a servlet, precisely what directory is that page
considered to have come from ? I tried
http://myserver/servlet. No dice.
Thanks.
Nicholas
=====
--
Nicholas Whitehead
Marketwide Software & Consulting Inc.
[EMAIL PROTECTED]
Home: 973 377 9335
Current Office: 212 559 9314
__________________________________________________
Do You Yahoo!?
Thousands of Stores. Millions of Products. All in one place.
Yahoo! Shopping: http://shopping.yahoo.com
___________________________________________________________________________
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