CoolInterview.com - World's Largest Collection of Interview Questions
Start Your Own website Now
Sponsored Links

Interview Questions
Our Services

Get 9,000 Interview Questions & Answers in an eBook.


  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!



    Send your Resume to 6000 Companies


  • INTERVIEW QUESTIONS J2EE JSP DETAILS
    Question :
    How is JSP include directive different from JSP include action. ?
    Category JSP Interview Questions
    Rating (0.4) By 1723 users
    Added on 9/16/2009
    Views 1533
    Rate it!
    Answers:

    When a JSP include directive is used, the included file's code is added into the added JSP page at page translation time, this happens before the JSP page is translated into a servlet. While if any page is included using action tag, the page's output is returned back to the added page. This happens at runtime.



    include action and include directive both are used to include the output of multiple jsp and send to the cliet. When we use include directive the output of all the jsp included only one time and creating a temporary jsp and corresponding servlet. Every time when the client send the request only one servlet object is created. When we use include action the server is creating multiple servlet object and execute multiple servlet object when client send request to the server.



    Posted by: ASLOOB AHMAD ANSARI    

    Contact ASLOOB AHMAD ANSARI Contact ASLOOB AHMAD ANSARI

    If you have the better answer, then send it to us. We will display your answer after the approval.
    Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
  • Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification  Enter the above shown code:*
    Inform me about updated answers to this question

       
    Related Questions
    View Answer
    How to pass information from JSP to included JSP?
    View Answer
    What is the difference in using request.getRequestDispatcher() and context.getRequestDispatcher()?
    View Answer
    What is the difference between ServletContext and PageContext?
    View Answer
    Can we implement an interface in a JSP?
    View Answer
    How do you delete a Cookie within a JSP?
    View Answer
    What is the page directive is used to prevent a JSP page from automatically creating a session?
    View Answer
    How do you connect to the database from JSP?
    View Answer
    How can I set a cookie and delete a cookie from within a JSP page?
    View Answer
    How do I use a scriptlet to initialize a newly instantiated bean?
    View Answer
    How do you prevent the Creation of a Session in a JSP Page and why? What is the difference between include directive & jsp:include action?
    View Answer
    How do I mix JSP and SSI #include? What is the difference between include directive & jsp:include action?
    View Answer
    How do I mix JSP and SSI #include?
    View Answer
    What is JSP?
    View Answer
    Can a JSP page instantiate a serialized bean?
    View Answer
    Can you make use of a ServletOutputStream object from within a JSP page?
    View Answer
    Is there a way I can set the inactivity lease period on a per-session basis?
    View Answer
    How do you pass control from one JSP page to another?
    View Answer
    Is there a way to reference the "this" variable within a JSP page?
    View Answer
    Can a JSP page process HTML FORM data?
    View Answer
    Can I stop JSP execution while in the midst of processing a request?
    View Answer


    Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

    View ALL JSP Interview Questions

    User Options
    Sponsored Links


    Copyright ©2003-2014 CoolInterview.com, All Rights Reserved.
    Privacy Policy | Terms and Conditions

    Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Dedicated Servers | C Interview Questions & Answers

    Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes


    Cache = 0.015625 Seconds