Hi, all,
I have a servlet that receives form data from a HTML form and then
return another HTML page containing some regular HTML form components
such as checkbox, radiobutton as well as an applet. My problem is that
when this applet is loaded, I can tell the servlet is hit for the second
time because I have something that only  can be printed out when
reaching the servlet. If I take out this applet on this page, the
servlet is only hit once. So I want to direct the request for this
applet to the apache server, i.e. let apache server get this applet and
send it to client rather than let the applet request go through the
servlet so that servlet won't be hit the second time when loading this
applet.
What I tried is to write the full URL of the applet's class in the
codebase:
<applet code="Applet1.class"
codebase=http://111.111.1.1/applets/></applet>
while I put Applet1.class under apache/htdocs/applets direcotry

I assume if apache and servlet are listening to different ports, this
full URL should  let apache server  take care of the applet without
going through the servlet. But it didn't work that way. Is it because
apache and servlet are listening to the same port?(my servlet listens to
8080). If so, how to find out the apache port and change it(I am using NT)? Or
if not, do you have any suggestions?
thanks in advance.
li

___________________________________________________________________________
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

Reply via email to