Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: servlet problem

  1. #1
    Junior Member
    Join Date
    Dec 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question servlet problem

    Hello...I am using oracle 10g XE as my database.I am trying to connect to this database using servlet.When I compile my program for creating class file I am not getting error.Through html form I am inserting data and after clicking on submit button the servlet program is being called.No error till this...But when I check in my database I am not getting any data..
    Once I tried to delete data from Sql Command line at that time I got msg that 1 rows deleted but after re-connecting I got that data again.
    I am trying my best to solve this but If anyone can get the answer of this let me know.
    Thank you...


  2. #2
    Junior Member
    Join Date
    Dec 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: servlet problem

    Quote Originally Posted by amritag View Post
    Hello...I am using oracle 10g XE as my database.I am trying to connect to this database using servlet.When I compile my program for creating class file I am not getting error.Through html form I am inserting data and after clicking on submit button the servlet program is being called.No error till this...But when I check in my database I am not getting any data..
    Once I tried to delete data from Sql Command line at that time I got msg that 1 rows deleted but after re-connecting I got that data again.
    I am trying my best to solve this but If anyone can get the answer of this let me know.
    Thank you...
    You probably maybe forget to commit the database transaction.

Similar Threads

  1. JAX-WS SERVLET PROBLEM...
    By kishor123 in forum Web Frameworks
    Replies: 1
    Last Post: October 5th, 2012, 08:34 AM
  2. Servlet problem
    By smiking in forum Java Servlet
    Replies: 1
    Last Post: September 1st, 2011, 12:02 PM
  3. Problem in Servlet redirect
    By surendran610 in forum JavaServer Pages: JSP & JSTL
    Replies: 2
    Last Post: August 17th, 2011, 01:15 PM
  4. Authentication problem in a servlet
    By Asido in forum Java Servlet
    Replies: 3
    Last Post: September 17th, 2010, 06:57 AM
  5. Problem with the servlet and jdbc
    By manjukdvg in forum Java Servlet
    Replies: 3
    Last Post: September 8th, 2010, 09:44 AM

Tags for this Thread