facebook

Creating my own custom JSP’s after I scafold a project

  1. MyEclipse IDE
  2.  > 
  3. Spring Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #320105 Reply

    Smitht19
    Member

    I have scaffold a new MVC project. I want to replace the generated UI screen with my own custom jsp screens using the generated controllers. My problem is for any JSP I create in the webroot I get the Head and Footer banner from my eclipse showing up in my new pages that have no includes for them. Please Advise

    #320197 Reply

    jkennedy
    Member

    Sorry about that, the SiteMesh integration that we generate with is designed to make it easy for you to customize the headers and footers of the generated UI’s.

    SiteMesh is good project, and you can configure it to provide different headers, footers for you pages as well if you have an interest, but if you want to just turn off that behavior, you can add an entry to the excludes section of the decoarators.xml file in your web-inf.

    If you need more information about sitemesh and its configuration you can start here.

    http://www.sitemesh.org/configuration.html

    You can exclude using wildcards and paths so you can easily avoid having sitemesh handle your pages.

    If you want to avoid using sitemesh all together and update our generated pages to not use them, etc you can remove the SiteMesh references from your web.xml.

    Thanks,
    Jack

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Creating my own custom JSP’s after I scafold a project

You must be logged in to post in the forum log in