Hi Everyone,
I am attempting to run my jsp with code from my EJB. The following error occurs.
Can't make static reference to method java.util.Vector getAccountsList() in class.
This is my jsp code:
<select name...>
<%
for(int i=0;i<StorAccountsListView.getAccountsList().size();i++) {
String accounts = (String)StorAccountsListView.getAccountsList().elementAt(i);
%>
<option><%=accounts%></option>
<%
}
%>
</select>
My EJB StorAccountsListView.java has
public Vector getAccountsList() {
return accountsList;
}
I am very new to this and ANY help would be most appreciated. Please remember I don't have the verbal jargen down yet.
Thanks for your help!
Tim
I am attempting to run my jsp with code from my EJB. The following error occurs.
Can't make static reference to method java.util.Vector getAccountsList() in class.
This is my jsp code:
<select name...>
<%
for(int i=0;i<StorAccountsListView.getAccountsList().size();i++) {
String accounts = (String)StorAccountsListView.getAccountsList().elementAt(i);
%>
<option><%=accounts%></option>
<%
}
%>
</select>
My EJB StorAccountsListView.java has
public Vector getAccountsList() {
return accountsList;
}
I am very new to this and ANY help would be most appreciated. Please remember I don't have the verbal jargen down yet.
Thanks for your help!
Tim