ModelAndView alternatives

LabKey Support Forum
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