Hello,

I wonder if someone could advise me on a way to do the following:

I need to have a controller method that may return a piece of html created by a JSTL View or it may return a JSON string. Is there a way to implement this? Would I mark the method up with @ResponseBody and create a custom HttpMessageConverter the would somehow render a JSTL View (or create the JSON string) or would I do it somehow with a view resolver?