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 / maruti.alapati

Directive Include:
1.Included the resources at translation time.
2.It supports only static resources.
3.If any changes are done in the JSP that are not freqently
changed.

Action Include:
1.Included the resources at request processing time.
2.It supports static & dynamic resources.
3.If any changes are done in the JSP that are change
freqently.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of cookies?

628


What is servlet and list its types?

538


Explain the architechure of a servlet?

602


What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?

562


Differentiate between get and post?

681






What are the uses of servlet and what is servlet chaining?

559


How do you configure a centralized error handler in servlets?

531


Define servlet mapping?

658


What is meant by Servlet? What are the parameters of service method?

592


Who is responsible for writing a constructor?

775


What is setattribute in servlet?

552


What's the difference between authentication and authorization?

546


What are the different session tracking techniques?

672


What do you mean by web applications? Explain web application directory arrangement?

536


When servlet is loaded?

589