Hey, I need your help please. In my JSP i have the folloeing code:
<TD>Origin: <html:select property="origin">
<% ArrayList list = DatabaseOperations.getOrigins(); %>
<%for(int i=0; i < list.size(); i++){
%>
<html
ption value='<%=list.get(i).toString()%>'>
<%=list.get(i).tostring()%>
</html
ption>
<% } %>
</html:select>
Problem is i keep getting the following errors:
ArrayList cannot be resolved to a type
DatabaseOperations cannot be resolved.
DatabaseOperations is a class i have with a getOrigind method that returns a list. I have it in the correct folder in struts, can someone please help me??