Results 1 to 2 of 2
  1. #1
    rantravee is offline Member
    Join Date
    Dec 2008
    Rep Power

    Default struts 2 and databases

    Hi, I'm new to struts , but I 'am supposed to migrate(redevelop) to struts a web application for school.The application is based on servlets, database,javascript,jsp .The first problem that I can't tackle myself is how am I going to use the database in struts. In the old application I have a class that builds the database,if it hasn't already been build and functions that manipulate the data. I used an instance of this class in the servlet to perform various tasks, but I don't know how should the database in the various classes that will implement the actions.So what strategies are there available ? (if possible without using other technologies )

  2. #2
    dpk_vash is offline Member
    Join Date
    Dec 2008
    Rep Power


    If you are using Netbeans 6.x IDEs, then you can go for the netbeans site.
    There you can find a no. of examples for Struts-database connections using different database application.
    Please try for it...

    Best of luck.

Similar Threads

  1. decorator.jsp problem building Struts Menu in JSP when Struts action is used
    By dkirvan in forum JavaServer Pages (JSP) and JSTL
    Replies: 3
    Last Post: 04-29-2010, 06:33 AM
  2. how to use XML databases
    By paty in forum XML
    Replies: 3
    Last Post: 08-16-2008, 01:11 AM
  3. Hibernate with multiple databases
    By dsr0781 in forum JDBC
    Replies: 5
    Last Post: 06-23-2008, 02:06 PM
  4. Recommendation about databases
    By tommy in forum JDBC
    Replies: 2
    Last Post: 07-28-2007, 06:04 AM
  5. multiple databases
    By varunthecool in forum JDBC
    Replies: 2
    Last Post: 07-09-2007, 09:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts