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 [EMAIL PROTECTED]

To:   "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
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);
                                             ^



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to