-
May 4th, 2011, 03:55 PM
#1
HttpMessageConverter and JSTLView
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules