Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sitemesh 2.4 and SpringMVC 2.5.6

 
Rendi Artha
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic