how to compile jsp?

Answer Posted / deepthi

Web Server provides the following ways of compiling JSP
2.1-compliant source files into servlets:

*

JSP are automatically compiled at runtime.
*

The jspc command-line tool, described in this section,
enables you to precompile JSPs at the command line.

You must disable dynamic reloading of JSP when deploying a
web application archive that has precompiled JSP without the
corresponding jsp source files. To do this, set the
reload-interval property to -1 in the jsp-config element of
the sun-web.xml file.

Reference:
http://docs.sun.com/app/docs/doc/820-1066/abxcc?a=view

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When throws keyword is used?

578


What is the difference between yield() and sleep()?

539


What is byte code and why is it important to java’s use for internet programming?

592


How are variables stored in memory?

572


Can we create object of inner class in java?

493






How are destructors defined in java?

569


Does java vector allow null?

537


What is the differences between c++ and java? Explain

584


What is an example of declaration?

519


Why are functions called methods in java?

526


Write a program to solve producer consumer problem in java?

560


How will you reverse a singly-link list?

592


Can we serialize static variables in java?

650


What is stringwriter?

537


What is native method in java?

561