We run one jsp page. At runtime how to convert jsp page into servlets. Tht is how to execute , and scripplets type of statements,variables and expressions. Where to execute at jsp page runtime.

Questions by bala4482

Showing Answers 1 - 3 of 3 Answers

Vikas Singh

  • Jan 10th, 2007
 

When we send a request to the java server page:-

1. If a servlet object representing the jsp page is available in the container, the web container execute the servlet.

2. If there is no servlet object, the web container:-

steps-

a. Runs the jsp compiler. the jspc takes the information from ther jsp file and genrates ".java" file that contains the java code for a servlet.    

b. The java compiler will be used to genrate ".class" file.

c. The web container creates a servlet object bassed on the class genrated in above steps.

  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