Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

servlet error  RSS feed

 
Mark Ketchum
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am fairly new to java and received the following error. I could use some help. Thanks in advance.

Feb 1, 2007 12:01:38 PM EST> <Error> <HTTP> <BEA-101020> <[ServletContext(id=25615763,name=damage_rpt.context-path=/damage_rpt)] Servlet failed with Exception java.lang.IllegalStateException: Cannot forward a response that is already committed
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:125)
at damage_rpt.damage_qry.doGet ( damage_qry.java:74)
at damage_rpt.damage_qry.doPost ( damage_qry.java:34)
at javax.servlet.http.HttpServlet.service (HttpServlet.java:760)

Here is the code for damage_qry


[ February 01, 2007: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch,

A tip: when posting code please use UBB code tags to preserve the formatting. Please read this for more information.

I went ahead and added them for you in this case. Many people will not wade through a morass of unformatted code.
[ February 01, 2007: Message edited by: Bear Bibeault ]
 
Mark Ketchum
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for formatting this for me. I will keep that in mind in any future posts.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!