JSP Basics: Include Dynamic Content at Runtime
Posted by Quinn McHenry in JSP programming
This method of including content reads the file at run-time after the JSP has been compiled. Changes to the included file are seen immediately and do not require recompilation of the JSP.
To include the file footer.jsp at runtime, use the following syntax:
About Quinn McHenry
Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
View more articles by Quinn McHenry
View more articles by Quinn McHenry
The Conversation
Follow the reactions below and share your own thoughts.


December 24, 2010 at 8:20 pm, Vokankh said:
you can do import like that:
the root directory is (“/”) is your WEB dir.