how to compile jsp?

Answers were Sorted based on User's Feedback



how to compile jsp?..

Answer / munmun

U CANT COMPILE JSP DIRECTLY,IT DONE BY CONTAINER.
for that jsp known as post compile

Is This Answer Correct ?    10 Yes 1 No

how to compile jsp?..

Answer / srinivasa

Using precomilers we can comile.In case of weblogic the
precomiler is >jspc -weblogic one.jsp .Every vendor
provides the precompilers.

Is This Answer Correct ?    5 Yes 0 No

how to compile jsp?..

Answer / abc

You need not to compile a JSP. It is compiled by JSP container
and converted to a class file if there is no ERROR.

Is This Answer Correct ?    4 Yes 0 No

how to compile jsp?..

Answer / 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

More Core Java Interview Questions

Explain the differences between abstraction and encapsulation?

0 Answers  


What is static and a non-static inner class?

3 Answers  


What is string builder in java?

0 Answers  


Is java jre still free?

0 Answers  


Can we access instance variables within static methods ?

0 Answers  






How to use Media tracker Class.

0 Answers  


Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?

0 Answers  


What is immutable state?

0 Answers  


what is the difference between process and thread? : Java thread

0 Answers  


what is a thread pool in java and why is it used?

0 Answers  


Is string a data type in java?

0 Answers  


Catch(Exception e){ } in that what is Exception and purpose of that in that place exactly?

3 Answers  


Categories