Hi Friends,
I am currently working on a new project. Wherein the
Client app would ask a Server for some file. This server is
essentially a Servlet Engine.
The client can be a normal java prg or a Web Browser But mainly
a Normal Java Client.
Now my Client if asking for a URL like
java myclient "http://m1:8080/eShoppe"
then it gives back 302 Found error.(Please note I am using pure
socket programming to connect to Servlet Engine for some reasons)
Then if I add a slash to my url Like this
java myclient "http://m1:8080/eShoppe/" then it gives me index.jsp as
wanted. This is when my Servlet Engine is JWSDK.
Now I start tomcat & go thru the same procedure but neither with nor
without slash returns the index.jsp. But If I use my browser to ask
for that same URL then it returns the index.jsp
I also went thru the HTTP specs but didnt find anything missing.
Does anyone know how to solve this problem. Only tomcat seem to be
having this problem coz JSWDK works fine.
Any Idea.??
Thanks,
Jiger
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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