Announcement Announcement Module
Collapse
No announcement yet.
How to include a controller from jsp page Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to include a controller from jsp page

    Hi,

    i like to include a page (menu pages) with a controller in all my other jsp page.

    I use sitemesh and i try this in my default.jsp :

    <%@ include file="/commun/afficheMenu.html"%>

    But the controller afficheMenu.html is not call.

    Does anyone an idea ?

    Thanks,

    Fabien.

  • #2
    You want <jsp:include>, not the include directive, which dumps the literal text of the file in the current page.

    Comment

    Working...
    X