aspose file tools*
The moose likes Spring and the fly likes Sitemesh 2.4 and SpringMVC 2.5.6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Sitemesh 2.4 and SpringMVC 2.5.6" Watch "Sitemesh 2.4 and SpringMVC 2.5.6" New topic
Author

Sitemesh 2.4 and SpringMVC 2.5.6

Rendi Artha
Greenhorn

Joined: Jan 20, 2010
Posts: 29
Hi Guys,
Ive been trying to use sitemesh in my springmvc apps. And I did it.
Unfortunately i've got some problems in different decorator for main page.Since I have login page which should not decorated and main page which has different decorator as previous page.
The problem arise when I through login page it success undecorated but when it redirect to main page, the fear comes that show undecorated either .
Please give a suggest to solve this.

Here my decorator.xml



Thanks in advance
Rendi Artawijaya
Rendi Artha
Greenhorn

Joined: Jan 20, 2010
Posts: 29
Already solve.

I change as below :
a. I chose decorated page only happens on forward case not both (request and forward)
b. I specify page for to be decorated not based on alias request (such as : login.html) but purely the page target.

Here the code


This is my 4th post who solved by myself. I understand the people voluntary answer questions depends on their free time.
Thanks giving place for me as newbie to learn by myself .
 
 
subject: Sitemesh 2.4 and SpringMVC 2.5.6
 
Similar Threads
Spring MVC redirect with sitemesh
sitemesh exclude problem
Sitemesh with Websphere6.1
How do servlet mapping in web.xml that the path information is not lost
Sitemesh doesnt decorate any pages after action class is called