Hi,
There is no method called getAttribute in
javax.servlet.http.HttpSession - you should use PageContext or
ServletContext for setting and getting attributes.
-----Original Message-----
From: Anand Alagappa [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 24, 2000 9:20 AM
To: [EMAIL PROTECTED]
Subject: Help - error in compiling JSP file
Hi All
Can anyone tell why the following error is coming?
I am using JRun 2.3.3 as my servlet engine with MIIS
as webserver.
500 Internal Server Error
com.livesoftware.jsp.JSPServlet:
javax.servlet.ServletException:
Found 1 semantic error compiling
"C:/JRun/jsm-default/services/jse/servlets/jsp/shopping/Inventory.java":
40. basket =
(BasketBean)session.getAttribute(BasketBean.BASKET);
<------------------------------------->
*** Error: No method named "getAttribute" was found in
type "javax/servlet/http/HttpSession"
Thanks
Anand
__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets