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
Explain the advantages and disadvantages of detached objects.
What is re-entrant. Is session beans reentrant. Is entity beans reentrant?
Explain how will the struts know which action class to call when you submit a form?
What is the relation between the infobus and rmi?
What is table mutation and how do you avoid it?
What are the steps to write p-to-p model application?
What do you know about seam?
What is the difference between a menuitem and a checkboxmenuitem?
Write a singleton program?
How would you reatach detached objects to a session when the same object has already been loaded into the session?
What class is the top of the awt event hierarchy?
How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!
What value does readline() return when it has reached the end of a file?
How a component can be placed on Windows?
How can I avoid validating a form before data is entered?