tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill_Fellows/MO/americancent...@americancentury.com
Subject Re: JSP errors
Date Mon, 08 Jan 2001 19:49:22 GMT


It sounds like your servlet.jar is not 2.2.  Look in /lib/ for your servlet.jar
(or wherever it's in your classpath)  See what's sittin' inside.  If it's 2.2,
the interface HttpSession in javax.servlet.http should have a method
getAttribute(java.lang.String name)  and getValue should be deprecated.  If
they're not there, then that is probably why Tomcat is complaining.

$.02
/bill




Please respond to tomcat-user@jakarta.apache.org

To:   "'tomcat-user@jakarta.apache.org'" <tomcat-user@jakarta.apache.org>
cc:    (bcc: Bill Fellows/MO/americancentury)
Subject:  JSP errors



Can anyone explain why I get these errors with Tomcat 3.2.7b and not another JSP
engine like Resin or Orion?
{ ...snip... }
D:\JavaServletProducts\jboss-tomcat\jboss_tomcat\tomcat-3.2-b7\work\localhost_80
80%2Faddressbook-web\_0002flist_0002ejsplist_jsp_0.java:139: Method setAttribute
(java.lang.String, addressbook.ejb.AddressBook) not found in interface javax.ser
vlet.http.HttpSession.
                         session.setAttribute("AddressBook", addressBook);
                                             ^



Mime
View raw message