OK, this question has dynamic HTML,
jsp and
Struts elements in it so I hope I'm posting to the correct forum (only your moderator knows for sure) so here goes...
I have a very basic Struts app that I've built in WebSphere (probably a moot point). In addition I have a simple, 1 table, 3 column MySQL database with the following structure:
Table Name: Trek_Reviews
Movie Name: varchar
Reviewer: varchar
Review: varchar
Back in the app, I have a jsp called "star_trek_movie_reviews.jsp" that has a form called "star_trek_movie_reviews_ActionForm".
Hopefully, you're still with me...
So my question is what would the data member in star_trek_movie_reviews_ActionForm look like that contained all the rows of the Trek_Reviews table and how would I code the jsp to populate a <TABLE> with all of the elements in the database?
I will happily add any other details necessary to answer this question (except what the reviews were as some folks have religion about this, though generally odd numbered trek movies suck).
Regards,
- DM_Tim