Struts 1
  1. Struts 1
  2. STR-3208

1.3.10 Javadoc Action class not having DataSource methods.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.3.10
    • Fix Version/s: None
    • Component/s: Documentation
    • Labels:
      None
    • Environment:
      NA
    • Flags:
      Important

      Description

      http://struts.apache.org/1.3.10/apidocs/org/apache/struts/action/Action.html

      getDataSource methods are not mentioned in the action class ? Deprecated or something - no such indication.

        Activity

        Hide
        Martin Cooper added a comment -

        Please ask questions on the User mailing list.

        Show
        Martin Cooper added a comment - Please ask questions on the User mailing list.
        Hide
        Dave Newton added a comment -

        There is no datasource in the config files. As discussed in the "how to I access a database" the DB config mechanisms are completely separate from Struts. The only reason it was there in the first place is because in the beginning there was no unified datasource access mechanism. Use JNDI or something.

        Show
        Dave Newton added a comment - There is no datasource in the config files. As discussed in the "how to I access a database" the DB config mechanisms are completely separate from Struts. The only reason it was there in the first place is because in the beginning there was no unified datasource access mechanism. Use JNDI or something.
        Hide
        Dev124 added a comment - - edited

        Could someone plz tell me how to get datasources mentioned in the config file, if the methods were depricated ?

        Thanx Dave.

        P.s: i couldn't find a way to reply to a comment so have to edit the issue.

        Show
        Dev124 added a comment - - edited Could someone plz tell me how to get datasources mentioned in the config file, if the methods were depricated ? Thanx Dave. P.s: i couldn't find a way to reply to a comment so have to edit the issue.
        Hide
        Dave Newton added a comment -

        It was deprecated and removed quite some time ago (~7 years?)

        I don't think we're going to go back in and add it, to be honest.

        Show
        Dave Newton added a comment - It was deprecated and removed quite some time ago (~7 years?) I don't think we're going to go back in and add it, to be honest.

          People

          • Assignee:
            Unassigned
            Reporter:
            Dev124
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development