• Post Reply Bookmark Topic Watch Topic
  • New Topic

JBoss Portal Ajax Issue on Consumer side  RSS feed

Maurya Muni
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created a simple Struts portlet with a Ajax call on button click, it works fine on the producer side! , but i have issue with the consumer side. Keep getting this error in console java lang illegalstateexception web3024 getoutputstream has already been called for this response
at org.apache.catalina.connector.Response.getWriter(Response.java:604)
at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:198)
at org.apache.struts.webapp.example.AjaxAction.doGet(AjaxAction.java:58)
at org.apache.struts.webapp.example.AjaxAction.doPost(AjaxAction.java:106)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)

Any thoughts? how to overcome this error?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!