Directive Include and Action Include how both are working
in JSP, what is the difference between both?In which
suituation we have to choose these elements?
Answer Posted / sangeeta
The <include> directive of JSP is used during the
translation process where servlet is generated.The files
which are static in nature should be used with this tag.
Whereas <jsp:include> action tag is used during the request
process where in changes can be incorporated dynamically.
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What are its drawbacks of cgi?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
What is url encoding and url decoding
What are the steps that are required to handle the multi-threading?
What is called servlet container?
What is the life cycle of a servlet?
Difference between httpservlet and generic servlets?
What is servlet collaboration?
Explain the role of dispatcherservlet and contextloaderlistener.
What are the phases of a servlet life cycle?
What is servlet and list its types?
What is a server side include (ssi)
What are the differences between forward() method and sendredirect() methods?
Which are the different ways you can communicate between servlets?
What is the major difference between context parameter and context attribute?