Your Internet Explorer version is not compatible with our shopping cart system. Please use version 9 or higher to avoid problems with your order(s). Close
Hi, I have a problem when i try to create the name of package followed with the method name it tells me that “Sessions” which is the name of my package can not be resolved.
btw : my package name was “metier.sessions” and i renamed it. but it seems like it s stuck with the old name.
Can you please help me?
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
List<Evenement> lst= Sessions.listEvenementsIncomp();
request.setAttribute(“lst”, lst);
}
this is some code of my servlet, i made sessions in bold just to say that the problem is there.
It is not clear why you are accessing a method using package name instead of the class name.
It is possible that some of the references are not updated.
Can you please let us know if you are working with Eclipse or MyEclipse? If you can send us the zipped project, we can take a closer look at what is going on.