Can someone please comment on an approach that should allow
the serving of Java applets from Apache/JServ?

In our case, the servlet running at URL:

        http://hostname/zone/servlets/myservlet

(note: zone "/zone" at Apache mount point "/zone/servlets")

wants to return the HTML code:

        <APPLET CODE="Myclass.class" ARCHIVE="Myjar1.jar,Myjar2.jar" ...>
        </APPLET>

back to the calling browser.
The servlet/httpd pair field the initial request &
send a good request back the browser, but ...
when the browser tries to fetch the archives, it breaks,
as the URLs:

        http://hostname/zone/servlets/Myjar1.jar
        http://hostname/zone/servlets/Myjar2.jar

never get sent back
(though we see that the httpd process saw the requests).

Is there a (simple) configuration that permits this ?

Perhaps there's a way to re-code the BASE URL of the returned HTML code
(e.g., via the <BASE HREF="http://hostname/~zone/"> HEADER directive) ?

BTW: Server: Solaris 2.6, Apache 1.3.6, JDK 1.1.7, JSDK2.0, JSERV1.0b5

Thanks.

Gary Rafe
[EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to