• Post Reply Bookmark Topic Watch Topic
  • New Topic

errors in submitting a form  RSS feed

 
Mohd Asim
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am having problems while submitting a form. upon submitting the first time, the form gets submitted. There is a provision to view and update the form once again. when i try to submit the form the second time or subsequent times using the submit button, weblogic throws the following exception



and then when i look into my application console logs, i also find this error



the above exception occurs after the first one thrown by weblogic happens. so i am thinking that there is some problem with the weblogic server.

i am using struts 1.2+ with oracle 10g and webogic server 8.1.

Thanks in advance.
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are most likely connecting to the database with both requests, and doing it incorrectly. For example you may be opening a new connection each time, but never closing your previous connection to the database.

Make sure you close your connection to the DB as soon as you are done using it.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you located within the code where the "no bean specified" exception is being thrown?
 
Mohd Asim
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
unfortunately i dont have access to the code. i just had to create a JSP and do some specific job. with similar JSPs it works fine. but they all are one time submission only i mean we dont have a feature in them to save as a draft and modify later then submit them.

The first time the form submits, but later on it doesn't submit and throws java.lang.IllegalArguementException No Bean specified exception. i am kinda lost in this mess. no clarity.
help is most appreciated.
 
Mohd Asim
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
The issue was resolved. When the form was being displayed subsequent times, it was not displaying some first-time-only-text-entry text boxes. so i redisplayed them and hid them using java script.

Thanks for the patience!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!