I need to use an object introduced in a JSP, the problem is that when I try to use it, it tells me that the variable " Championship can not be resolved to a type ". I guess I should do some kind of import, but I do not know exactly how. Can someone help me?
This is the hierarchy:
<%
Hashtable<String,Campeonato> mensaje = (Hashtable<String,Campeonato>) request.getSession().getAttribute("Resultado");
if(mensaje == null) out.println("No se ha podido recuperar el mensaje de la sesion.");
else{
for(int i = 0; i < mensaje.size(); i++){
%>
<option value=<%mensaje.get(Integer.toString(i+1)).getIdCampeonato();%>><%mensaje.get(Integer.toString(i)).getNombreC();%></option>
<%
}
}
%>
I need to put the object " Championship " in the .jsp " Seleccion_Campeonatos "
Thank you very much everyone in advance.