tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Incze Lajos <in...@mail.matav.hu>
Subject Re: java.lang.NoSuchMethod
Date Sat, 27 Oct 2001 15:12:26 GMT
On Fri, Oct 26, 2001 at 05:28:43PM -0400, Ben Sifuentes wrote:
> I'm getting a java.lang.NoSuchMethod error when executing the following:
> 
>     // Retrieve the context for this object
>     HttpSession session = req.getSession();
>     ServletContext context = session.getServletContext();

Ben,

you're getting java.lang.NoSuchMethod exception when using
session.getServletContext(), because there is No Such Method
in HttpSession.


incze

--
To unsubscribe, e-mail:  <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message