aspose file tools*
The moose likes JDBC and the fly likes Please give some code or idea Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Please give some code or idea" Watch "Please give some code or idea" New topic
Author

Please give some code or idea

mallikarjun dontamsetti
Ranch Hand

Joined: Mar 18, 2011
Posts: 244

Please give some code to servlet that controls the data from database like update,delete,insert in a single servlet
thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61766
    
  67

Two things:
  • You should know that JavaRanch in NotACodeMill. Please write your own code and ask for help with it rather than asking others to do your work for you.
  • Database access should be performed in the Model, not the Controlelr, and hence is not a Servlet issue. As such, this topic has been moved to the JDBC forum.


  • [Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
    Jeanne Boyarsky
    author & internet detective
    Marshal

    Joined: May 26, 2003
    Posts: 31075
        
    232

    To get started with JDBC, see the Oracle JDBC tutorial.


    [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
    Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Please give some code or idea