×
The 2025 Client Survey is now open! Responses will be accepted up until 10/31. Please feel free to share this link within your organization and we thank you in advance for your participation!

ModelAndView alternatives

LabKey Support Forum (Inactive)
ModelAndView alternatives jeckels  2008-04-03 15:14
Status: Closed
 
Hi Bill,

To avoid any extra formatting, you might want to try rendering your view within your action instead of returning a ModelAndView. Inside your action, you could call view.render(getViewContext().getRequest(), getViewContext().getResponse()); Then, return null from the action. This should prevent the framework from wrapping you in any other tags.

Josh