> I'm a complete newbie to Struts. I know how to use Struts to 
> build forms and submit them, but how do I just display data 
> from a database? I want a screen that just displays data from 
> a sql command to a database and displays the results in a 
> html table. Do I use ActionForm even though I don't have a 
> form? I haven't been able to find any good examples on the web.

You don't necessarily need an ActionForm for this, but you do need a
JavaBean to hold the data you want to display. To display it on the page,
use JSTL <c:out ...> tags.

--
Tim Slattery
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to