What is the difference between include and jsp directive: include action?



What is the difference between include and jsp directive: include action?..

Answer / Bishan Swaroop

"The JSP directive 'include' is used to embed one JSP page into another, while the 'include' action in a scriptlet (<% %>) or tag file (<jsp:include />) includes the contents of another JSP page dynamically. The main difference lies in their usage and syntax: directives are defined at the top of a JSP file, whereas actions are called within the body of the page."n

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JSP Interview Questions

What is a translation unit?

1 Answers  


What do jsp literals consist of?

1 Answers  


What is a jsp expression?

1 Answers  


What are the benefits of pagecontext implicit object?

1 Answers  


What is a hidden comment in jsp?

1 Answers  


Is jsp technology extensible?

1 Answers  


What are directives? What are the different types of directives available in jsp?

1 Answers  


What do you mean by jstl?

1 Answers  


What is the difference between a scrollbar and a scrollpane in jsp?

1 Answers  


Explain the action.

1 Answers  


what type of question will be asked in the interview in this software field?????///

2 Answers   wbsedcl,


What is the most needed for STRUTS ?

2 Answers   Trigent,


Categories