How do I mix jsp and ssi #include? What is the difference between include directive & jsp:include action?



How do I mix jsp and ssi #include? What is the difference between include directive & jsp:includ..

Answer / Samiksha Dixit

To mix JSP and SSI (Server Side Includes), you can use an SSIs #include within a JSP page. However, the main difference between the 'include' directive in JSP and the #include in SSI is that the former is processed during compilation, while the latter is processed when the .shtml file is requested.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JSP Interview Questions

What are actions and directives in jsp?

3 Answers   Ocwen,


What is jsp in javascript?

1 Answers  


How session is achieved in JSP?(once user logs out,if he press back button of browser he should not be allowed to same page)

1 Answers  


How do you delete a cookie within a jsp?

1 Answers  


What is meant by implicit objects and what are they?

1 Answers  


List all tags that are provided in jstl?

1 Answers  


when we will use the SendRedirect method instead of forward.

1 Answers   pspl,


Which implicit object is not available in normal jsp pages?

1 Answers  


Explain jsp?

1 Answers  


Define JSP Scriptlet.

1 Answers  


How is jsp include directive different from jsp include action. ?

1 Answers  


How to set a cookie in JSP?

2 Answers  


Categories