how the jsp file is compiled?

Answer Posted / annasmith

first save the jsp file with extension .jsp and then you should keep that file in "webapps" folder in apachetomcat server. And than start the server(click on start->all programs->apachetomcat->configure tomcat).next you should go to internet explorer and give url in address bar i.e(http:\\localhost:(urserverport number)\)
it shows tomcat home page and then click on the tomcat manager
it shows list of all your applications click on your application and then you are done.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I prevent the output of my jsp or servlet pages from being cached by the browser?

565


Can we define a class in a jsp page?

503


How can I implement a thread-safe jsp page?

531


What are jsp declarations?

538


What is custom tag library?

487






Explain the difference between servletcontext and pagecontext in jsp?

485


Why do we use expression language in jsp?

468


Why are jsp pages the preferred api for creating a web-based client program?

543


What are the attributes on page directives?

510


What are the different directives in jsp?

495


What are the main tags in jsp?

471


What are different types of comments used in jsp?

506


Perform a browser redirection from a jsp page?

524


What is jsp life cycle?

501


How does a jsp engine work?

497