Li Xu wrote:

[snip]

> 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
>

If you are running separate web server and servlet engine environments (such as
Apache and JSWDK), you will not be able to have them run on the same port.  This
is a restriction of TCP/IP.

If you want them to appear to be the same port (from the perspective of the
client browser), you need to run a servlet engine that is integrated with Apache
(such as Apache JServ, JRun, ServletExec, and so on).  In that case, Apache still
handles the requests for static files, but hands off requests for servlets to the
servlet engine behind the scenes.

Craig McClanahan

___________________________________________________________________________
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