• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

errors in submitting a form

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 4179
22
IntelliJ IDE Python Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic