facebook

Cannot get styling to apply in simple SiteMesh Example

  1. MyEclipse IDE
  2.  > 
  3. Spring Development
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #319472 Reply

    Mork
    Participant

    Hello,

    I created a MyEclipse project using the MyEclipse for Spring wizards and the SiteMesh works OK.

    However, when I try to modify a (VERY) simple example that has some style sheets that display several divs using SiteMesh AND also add Spring, I cannot get it to look correct — the styling is ignored.

    The example that works correctly (styling wise) as a regular web app, but not when I create a new Spring MVC project is here: “http://www.jforeach.com/learn-sitemesh-in-30-minutes-or-less/96”.

    It’s like the styling just isn’t applied.

    I’ve done a compare of the two projects and most of the files are identical. The Spring version has additional files and such that the (working) web app project doesn’t.

    I’ve also swapped out the index.jsp, web.xml, and other suspected files, but the Spring version that uses SiteMesh (created with regular MyEclipse Pro) just will not show the divs correctly styled (thought the Spring MVC does work).

    So, my question is what’s the trick to use SiteMesh and Spring together and have the page correctly styled? I’m not sure how MyEclipse for Spring does this since there’s so much mark up in those files.

    Is Spring doing something here to mess up SiteMesh?

    Would appreciate any suggestions or ideas.

    Thanks,

    – mork

Viewing 1 post (of 1 total)
Reply To: Cannot get styling to apply in simple SiteMesh Example

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