WebSphere Gotcha - Streaming in WAS 8
here's a little gotcha in WebSphere 8; if you're using Spring MVC and you decide to serve non-jsp content from behind the WEB-INF directory (e.g. a javascript file), the ViewResolver must return it as a jsp page, otherwise WAS will block it.
In tomcat or other servlet container it will work, but in WebSphere, I can't get it to.
My workaround
create a controller that will stream it back in the HttpServletResponse object
No comments:
Post a Comment