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
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 .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sitemesh 2.4 and SpringMVC 2.5.6