Hi,
I am attempting to alias a servlet on JWS 1.1.3 to be the default URL
of "/". For example I want the URL
http://myMachine.networthysolutions.com
to execute the same as
http://myMachine.networthysolutions.com/servlet/myServlet.
The servlet already works (it happens to a java package) with the full
URL.
I can use the "Servlet Aliases" admin. page to successfully create an
alias
to http://myMachine.networthysolutions.com/myServlet without any
problems.
On the "Servlet Aliases" admin. page of the JWS an entry already exists
for
"/". The alias for "/" is the file servlet. If I attempt to replace the
default "file" servlet I can access myServlet with just
http://myMachine.networthysolutions.com which is just what I want!
However, replacing the "file" servlet breaks all of the GIF images in
the
page. Actually its much worse. With the "file" servlet replaced ALL
URL's
(GIFS, HTML Files or other servlets) are sent to myServlet.
I looked at the Sun JWS documentation. Sun explicitly states that the
file servlet should not be overridden but makes no suggestions on a
way to get the above to work correctly.
What is the correct method for what I am attempting?
Thanks in advance
Bill Sheppard
Networthy Solutions Inc.
___________________________________________________________________________
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