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

Can you call a method on a null object?

1009


Can a class declared as private be accessed outside it’s package?

1011


Who is the owner of java?

997


What is the association?

978


What is a private class in java?

1047


Can a variable be local and static at the same time?

998


What are parsing rules?

987


How will you load a specific locale?

970


Explain some best practices you would apply while using collection in java?

1028


Can sleep() method causes another thread to sleep?

1036


What do you understand by java?

974


Explain about abstract classes in java?

1030


take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).

1977


What is the difference between synchronized and synchronized block?

1061


What are the common uses of "this" keyword in java ?

1016