This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
site mesh decorator xml -
here are my observations - if i use return "redirect:user.html"; & return "forward:user.html"; it was working fine with the correct layout (layout.jsp) for users, since decorator will catch it by pattern <pattern>/user*</pattern>. but the problem is form will load twice and i get the popup twice.
if i use return "forward:user.html"; or return "/user/user"; popup will come only once but the layout is wrong.cause should be that it will not captured from the decorator for url pattern <pattern>/user*</pattern> and it will use the default layout which is wrong (default.jsp).
I think there is something to handle from the spring side and not from the sitemesh. can you please give some guidance among this? is there any specific way to handle this kind of scenario?Thank you in advance.