Jeff Jarrell wrote:

> I have just installed the .5 release and the example works.  Now I have
> tried to use the sample as a start for what I want to do. Copied the
> components and changed the package names.  Now when I try and build the
> code, I get the following in EditRegistration.java.
>
> . getAttribute(java.lang.string) in interface
> javax.servlet.http.HttpSession at line 131, column 28
>
> Since the code is still pretty new, I suspect a bug but lets see.
>

Is there any more to the error message than this?  It seems incomplete.

One possibility is you might be compiling against an old (pre-2.2) version
of the servlet API classes.  HttpSession.getAttribute() was added in that
version.

>
> Thanks,
> Jeff

Craig McClanahan

====================
See you at ApacheCon Europe <http://www.apachecon.com>!
Session VS01 (23-Oct 13h00-17h00):  Sun Technical Briefing
Session T06  (24-Oct 14h00-15h00):  Migrating Apache JServ
                                    Applications to Tomcat




Reply via email to