hi ,
i got a few jsp doubts. could anyone please help me?
i am want use of many instance of a class in a jsp page. how is this possible.
class Isured{
public int getCost(){
return cost;
}
public void setCost}
........;
}
}
and there are two or more instances of this class Insured.
the jsp page is something like this.
<%@ page language='java' import="Insured" %>
....
<jsp:useBean id="InsuredBean" class="Insured"/>
and when i use the get method i can access the values. but if i have multiple instances of the class how can it be displayed in the jsp page? is using vector a correct method? if so could u tell me how?
please reply immediately.
Rabix
i got a few jsp doubts. could anyone please help me?
i am want use of many instance of a class in a jsp page. how is this possible.
class Isured{
public int getCost(){
return cost;
}
public void setCost}
........;
}
}
and there are two or more instances of this class Insured.
the jsp page is something like this.
<%@ page language='java' import="Insured" %>
....
<jsp:useBean id="InsuredBean" class="Insured"/>
and when i use the get method i can access the values. but if i have multiple instances of the class how can it be displayed in the jsp page? is using vector a correct method? if so could u tell me how?
please reply immediately.
Rabix