hi,
<%
ArrayListal= new ArrayList();
YourBean pb= null;
al = (ArrayList) request.getAttribute ( "al" );
for ( int i = 0; i < al.size(); i++ )
{
pb = (YourBean) al.get(i);
out.println ( pb.getFirstProperty ( ) );
out.println ( pb.getSecondProperty ( ) );
}
pb = null;
al = null;
%>
*) create javabean file for all properties
but i have to take those values from the database which are not specied into the bean.
as i want the login date ,expiry date and the primary key .For primar key i have set it autoincrement which is not specified into the bean.logindate is taken from syatem date using the getdate function(). and the expiry date is dateadd(month,+6,getdate()). in the insert query function. All these column are not specified into the bean.
So how will i get those values into the jsp page through iterating the values.