Results 1 to 2 of 2

Thread: How to include a controller from jsp page

  1. #1

    Default 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. #2
    Join Date
    Aug 2004
    Location
    San Mateo, CA
    Posts
    1,265

    Default

    You want <jsp:include>, not the include directive, which dumps the literal text of the file in the current page.
    Rod Johnson - GM, SpringSource Division, VMware
    http://www.springsource.com
    Spring From the Source

Similar Threads

  1. Replies: 7
    Last Post: Jan 27th, 2006, 08:17 AM
  2. best controller for search page
    By sprinbie in forum Web
    Replies: 8
    Last Post: Sep 14th, 2005, 10:13 AM
  3. Replies: 5
    Last Post: Jun 16th, 2005, 02:29 PM
  4. Replies: 0
    Last Post: Jun 10th, 2005, 08:22 AM
  5. Page flow controller
    By klr8 in forum Web
    Replies: 9
    Last Post: Nov 16th, 2004, 03:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •