Hi,
I am using IBM websphere 5.1 and facing a weird "Cannot find server" problem.
I have a multipart/form data
jsp page.
My Setup:
I am having a simple servlet/jsp based web application. The request first comes to the servlet1 which does some initialization or variables and then paints jsp1. Jsp1 has action as servlet2, which is the heart of application and acts as a controller
servlet.
When i was
testing using
http://localhost/ContextRoot/servlet1 it was working great. Then what i was doing is logging on to my test server and pointing the domain to localhost in the host file so all my requests were coming to my local server.
I made an entry in %systemroot%\system32\drivers\etc\hosts file - 127.0.0.1
www.abcd.com. The first servlet is called and painting the page fine. Then i click on the page and do a submit, sometimes it works fine, sometimes it says server not found.
Scenarios:
1) I tried clicking on the refresh button on browser and request went to my local server.
2) When i was submitting back to back it worked sometimes... Then when i wait and hit submit... it cries "Cannot find server".
3) When i deployed the code on my test server it is working fine.
4) And it is working fine on mozilla.
I am really confused... as it works great with localhost instead of domain name...
Thanks,
Karan