java.lang.InstantiationException("bean newTeam not found within scope")
843838Apr 19 2007 — edited Apr 20 2007What causes this error? I have looked in the java code generated by my jsp page and found this
com.football.Team newTeam = null;
synchronized (request) {
newTeam = (com.football.Team) jspxpage_context.getAttribute("newTeam", PageContext.REQUEST_SCOPE);
if (newTeam == null){
throw new java.lang.InstantiationException("bean newTeam not found within scope");
The value of my bean is null,how do i solve this?
Any ideas? I am new to JSP