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
Is infobus easy to use?
How to pass parameters in RMI?
What is the relation between the infobus and rmi?
Describe, in general, how java's garbage collector works?
cud u help me ... i am struggling with this question... to find all the subsets of a given set for ex.... a,,b,c shud give all the subsets.... i gt the program in c bt nt able to get it in java..... help needed ..
What is the immediate superclass of the applet class?
Why won’t the jvm terminate when I close all the application windows?
What is the difference between ear, jar and war file?
What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?
What is threadfactory?
the same information whether it will connect to the database or it will be used previous information?
Which textcomponent method is used to set a textcomponent to the read-only state?
What is the difference between the ‘font’ and ‘fontmetrics’ class?
Why are my checkboxes not being set from on to off?
Name the eight primitive java types.