In Internet explorer if we give a jsp , How the server will know it has to execute?

Showing Answers 1 - 3 of 3 Answers

Nitin Gautam

  • Oct 21st, 2005
 

Whenever we type any thing in Internet Explorer it make a query with the Server that with which program JSP extension is associated.

After querying the Registery of Server/Machine, In result it is executed with the associated program.

For example whenever we click on any file with .DOC extension it  opens with Microsoft Word the same funda applied on every extension whether it is Desktop application or Web Application/Services.

I hope this will Satisfy your Query. Do Reply.

Nitin Gautam
Delhi,India

  Was this answer useful?  Yes

pankaj

  • Jan 9th, 2006
 

whenever a URL is written on IE , Web server gets it as request to process and does the folloing path

1) break the request in 3 parts

a)Context root

b) Path

c)resource name

First it will find the longest part of the request that can be context and then rest is path

like

https://localhost:8080/examples/servlet/FirstExample.jsp

here examples is context root and servlet is path and FirstExample is resource name.

This way Web Server knows which jsp needs to be processed.

  Was this answer useful?  Yes

lhariPrasad

  • Sep 27th, 2006
 

then matches the date stamp, if the modified date stamp is latest, then tries to re-compile the JSP to a servlet and then executes that servlet just like any other servlet, and sends the response back to the client.

  Was this answer useful?  Yes

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