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?

Answers were Sorted based on User's Feedback



My application URL : http://localhost:8080/Application/Login.jsp. When a user enter this url in..

Answer / 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

My application URL : http://localhost:8080/Application/Login.jsp. When a user enter this url in..

Answer / guest

will first goto the base-url then will connect to the server
and then will parse the page if requested for the first time
and then the output login page will be forwarded on the
browser in form of html

Is This Answer Correct ?    7 Yes 2 No

My application URL : http://localhost:8080/Application/Login.jsp. When a user enter this url in..

Answer / kumar

It look into the configuration file(web.xml) and search for
the login.jsp(in the server) from there it retrives the
information and send it to client side

Is This Answer Correct ?    11 Yes 7 No

Post New Answer

More Core Java Interview Questions

What are the high-level thread states in java programming?

0 Answers  


What are the four pillars of java?

0 Answers  


What is the synonym of string?

0 Answers  


What is Vector?Can you elaborate how Vector is Thread safe?

3 Answers   HCL,


What is unicode full form?

0 Answers  






Can a class be private or protected in java?

0 Answers  


What are the three types of design patterns?

0 Answers  


Can a class have more than one object?

0 Answers  


How does finally block differ from finalize() method?

0 Answers  


Can you achieve runtime polymorphism by data members?

0 Answers  


What is parameter tag and what is its use?

1 Answers  


Why non nested classes in java are not having marked as protected access specifier

2 Answers   Google,


Categories