Hai friends,Can any one explain how websites are working,What will happen after entering website address?Please reply for my question.with regards,Rajesh

Showing Answers 1 - 4 of 4 Answers

Kumar

  • Oct 3rd, 2006
 

When you enter an URL and hit enter, the URL wil mapped to a particular application and wil be directed to the home page of that application. When the user submits a form, the request goes to a webserver (if Tomcat). This servlet container identifies a which servlet to be called using the url (action specified). The container creates objects of HttpServletRequest and HttpServletResponse and passes it on your servlet. You would have overriden doGet() or doPost() method where the request will be processed.

  Was this answer useful?  Yes

Yes that is a nice question

1. the entered URL is transformed into a IP address using a DNS lookup server..
2. The request is routed to the ip address using routers international gateways, fibew optic cables...etc etc.. to the destination...
3. There on the other end exists a web server which accepts incoming requests..

4. Rest is glory ...like It handles the incoming request and sends appropriate response to the user browser which is interpreted and displayed...


If this user-server communication lasts for more time we have session tracking to keep track of entered information...

If an error occurs..all requests are resend..which is taken care by browser or the router ...so the story goes on...

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions