Menu

Data sources

2003-12-11
2004-02-12
  • Colm Garvey

    Colm Garvey - 2003-12-11

    I'm coming at struts from a design backround as opposed to a pure programming background. I'd like to get involved in improving the look and feel/usability of this project but I'm having trouble with running it locally as OJB is a little beyond me. Is it possible to use JDBC or ODBC as data sources and if so, how do I go about configuring that so I can play around with HTMLTable a bit?

     
    • Yuriy Zubarev

      Yuriy Zubarev - 2003-12-12

      Hello Colm. Most certanly you can use just JDBC or stay away from databases at all - the only thing HTMLTable needs is a collection (anything that would work with Iterator tag from Struts). How you instantiate the collection is totally up to you.

      For example, DefaultHTMLTable extends Vector, so you can use addCollection(Collection) method.

       
    • yunjie liu

      yunjie liu - 2004-02-12

      sorry,I'm new to HTMLTable.
      Can I use it with Hibernate for Persistence?
      And how to just JDBC with addCollection(Collection) ?
      thanks and regards

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.