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
Can I have an action without a form?
Is it possible to stop the execution of a method before completion in a sessionbean?
Why use a datasource when you can directly specify a connection details? (in a J2EE application)
How to determine SGA site?
What is a modular application? What does module-relative mean?
Explain about thread synchronization inside a monitor?
How to pass parameters in RMI?
Difference between new operator and class.forname().newinstance()?
What is the RMI and Socket?
Can I run seam with jdk 1.4 and earlier?
Difference between hashmap and hashtable?
What are the sequence of steps to write pub or sub model kind of application?
Difference between loadclass and class.forname?
What is mdb and what is the special feature of that?
What is colon_pkg_prefixes and what is its use?