Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

My application URL :
http://localhost:8080/Application/Login.jsp. When a user
enter this url in IE then, how it get Login.JSP Page
exactly? what are the processes will happen from when we
submit the URL to get Login.jsp?

Answer Posted / jishnu

When ever a URL is hit the first thing happens is DNS resolution. There is a dns cache at browers level, then OS level, then at router level, then ISP level and global dns server level. Since this is localhost, it will check in browser if not found at OS and since its localhost OS will resolve it as 127.0.0.1

The Application/Webserver running at port 8080 so the request is sent to server who looks for "Application" in root level and looks for Login.jsp.

If the request is for the first time the webserver compiles the jsp and compiled jsp class have a method _jspService. The result of the _jspService is send back to the brower.

Regards,
Jishnu

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is bean? Where it can be used?

1097


How to handle a web browser resize operation?

1085


Which is faster string or stringbuilder?

934


What is classname class in java?

1075


How can u increase the heap size in the memory?

1026


Can we inherit a class with private constructor?

1134


What is difference between stringbuffer and string?

968


Is it compulsory for a try block to be followed by a catch block in java for exception handling?

1019


What is string and its types?

1196


How to perform binary search in java?

1005


Is zero a natural number?

1042


Write a program in java to find the maximum and minimum value node from a circular linked list.

1095


Why put method is idempotent?

923


Can we force the garbage collection to run?

957


How many functional interfaces does java 8 have?

1035