JSP basics: include dynamic content at runtime

Contributor Icon Contributed by qmchenry  
Tag Icon Tagged: 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:

 

3 Comments -


  1. dsfd said on January 10, 2009

    hey did you publish anything?

  2. Anonymous said on March 26, 2010

    What is this? Nothing is here!

  3. Vokankh said on December 24, 2010

    you can do import like that:

    the root directory is (“/”) is your WEB dir.

 

RSS feed for comments on this post. TrackBack URL

Leave a comment -