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
posted 6 years ago
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 .