ciao a tutti!
ho questa classe con query:
codice:
public ActionForward lista(ActionMapping mapping, ActionForm form,
		HttpServletRequest request, HttpServletResponse response)
		throws Exception
{
	DataSource dataSource;
	Connection myConnection = null;
	try
	{
		dataSource = getDataSource(request,"STRUTS_DB1");
		myConnection = dataSource.getConnection();
	
		String select = "select Nome, Cognome from utente";
		PreparedStatement ps = myConnection.prepareStatement(select);			
		ResultSet rst = ps.executeQuery();
		rst.close();
		ps.close();
	}
e nel struts-config.xml:
codice:
	<action
		path="/utenti"
		name="buttonform"
		scope="request"
		type="struts.actions.Loginaction"
		input="/success.jsp"
	>
		<forward name="utenti" path="/utenti.jsp"/>
	</action>
ora nella pagina utenti.jsp mi dovrei far stampare la select in una tabella utilizzando iterate, come posso fare?