Organizational Research By

Surprising Reserch Topic

Question:Difference Between include Directive and include Action of JSP



asked Sep 13, 2013 in JSP by anonymous
edited Sep 12, 2013
0 votes
27 views



Related Hot Questions

2 Answers

0 votes

 

Include Directive
Include Action
include directive is processed at the translation time
Include action is processed at the run time.
include directive can use relative or absolute path
Include action always use relative path
Include directive can only include contents of resource it will not process the dynamic resource
Include action process the dynamic resource and result will be added to calling JSP
We can not pass any other parameter
Here we can pass other parameter also using JSP:param
We cannot  pass any request or response object to calling jsp to included file or JSP or vice versa
In this case it’s possible.
 
answered Sep 13, 2013 by anonymous
edited Sep 12, 2013
0 votes

 

Include Directive
Include Action
include directive is processed at the translation time
Include action is processed at the run time.
include directive can use relative or absolute path
Include action always use relative path
Include directive can only include contents of resource it will not process the dynamic resource
Include action process the dynamic resource and result will be added to calling JSP
We can not pass any other parameter
Here we can pass other parameter also using JSP:param
We cannot  pass any request or response object to calling jsp to included file or JSP or vice versa
In this case it’s possible.
 
answered Sep 13, 2013 by anonymous
edited Sep 12, 2013

...