Reputation: 313
For one jsp page I need that page not to be "rendered" using the default layout. So no header, footer, nothing. Only the plain JSP page as it is.
At the moment the page shows correctly, yet inside a frame, with the banner, header and footer of Spring (default.jspx if I'm not wrong)
Upvotes: 1
Views: 287
Reputation: 3882
As eruiz says, just set up Tiles config as needed.
To do that you need to create new custom-layout.jspx file on "webapp/WEB-INF/layouts/". You can copy an existing layout like "default.jspx" and remove header, footer and that elements that you don't want on your view.
When you finish that step, you need to go to your "views.xml" file and modify layout attribute for your view to use the new one.
Now your view has a different layout.
PD: Remember to relaunch your application to view the changes.
Best Regards.
Upvotes: 1