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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
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.
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