diff between jsp include directive and jsp action include?

Answer Posted / vijaykumar venkatappa davanag

both are functioning same,
but (<%@ include file="/relative path" %> )directive includes the file contents at Traslation phase, if one or more number of files included in a jsp,all will traslated and create one single servlet class file.
In case of (<%jsp:include page="" %>)jsp:include includes the file contents at Request Processing phase, that means container is going create RequestDispatcher and calls the include() method. here each and every included jsp files converted into seperate servlet class files.

Is This Answer Correct ?    14 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about RMI Architecture?

872


A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions

2057


Name the class that is used to bind the server object with RMI Registry?

1943


What is mdb and what is the special feature of that?

844


Are there books about seam?

882


Why is string immutable in java?

860


what is meant by JRMP?

2054


Brief description about local interfaces?

967


What are externizable interface?

837


Whats new with the stop(), suspend() and resume() methods in jdk 1.2?

834


what is an isolation level?

2487


What is Stream Tokenizer?

2005


Is the ternary operator written x : y ? Z or x ? Y : z ?

893


What is the argument type of a programs main() method?

861


What is a clone?

827