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

why java main method is given as static method?

2 Answers  


Is there any way to find whether software installed in the system is registered by just providing the .exe file? I have tried the following code but its just displaying the directory structure in the registry. Here the code : package com.msi.intaller; import java.util.Iterator; import ca.beq.util.win32.registry.RegistryKey; import ca.beq.util.win32.registry.RootKey; public class RegistryFinder { public static void main(String... args) throws Exception { RegistryKey.initialize(RegistryFinder.class.getResource("jRe gistryKey.dll").getFile()); RegistryKey key = new RegistryKey(RootKey.HKLM, "Software\\ODBC"); for (Iterator<RegistryKey> subkeys = key.subkeys(); subkeys.hasNext();) { RegistryKey subkey = subkeys.next(); System.out.println(subkey.getName()); // You need to check here if there's anything which matches "Mozilla FireFox". } } }

0 Answers   Google,


What is the symbol for line break?

0 Answers  


What is the difference between preemptive scheduling and time slicing?

0 Answers  


What is ctrl m character?

0 Answers  


Explain all java features with real time examples

0 Answers  


What is substring 1 in java?

0 Answers  


Is array size fixed in java?

0 Answers  


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

0 Answers  


Can we sort hashset in java?

0 Answers  


1) Find the Merge point of two linked lists. 2) Swap two bits of integer. 3) Reverse individual words of the sentence. 4) Reverse string without using temp string.

2 Answers   HCL,


What is difference between ++ I and I ++ in java?

0 Answers  


Categories