How to include a jsp file in another jsp file?



How to include a jsp file in another jsp file?..

Answer / Ravi Shekhar Rai

To include a JSP file in another JSP file, you can use the Java JSP Include Directive (<%@ include file="path_to_file" %>). This directive will be replaced by the output of the included file during the compilation.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JSP Interview Questions

Which jsp implicit objects are thread safe?

1 Answers  


What do you know about pagecontext and what are the advantages of using it?

1 Answers  


Where do I create jsp in eclipse?

1 Answers  


What is full api?

1 Answers  


Mention the various implicit objects used in the expression

1 Answers  


What is attribute in jsp?

1 Answers  


What is the difference between jsp and thymeleaf?

1 Answers  


Give an example where you need jsp custom tag?

1 Answers  


What is difference between jspwriter and servlet printwriter?

1 Answers  


What is contextpath?

1 Answers  


Write a Program using Servlet and JDBC for developing online application for displaying the details of Cars owned by the residents in XYZ society. Make necessary assumptions and create appropriate databases.

1 Answers   ME,


How does a jsp function?

1 Answers  


Categories