tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Use a jsp:useBean Bean from a servlet?
Date Thu, 20 Jul 2000 13:28:22 GMT


thank you for the links.

My problem ist solved -
although I thought I allready tried it in the described way :-)
Anyway, everything is fine now.


                    "Ken Kress"                                                          
                    <kkress@ospreypar        To:     <>
          >               cc:     <>
                                             Subject:     Re: Use a jsp:useBean Bean from
                    19.07.00 20:46           servlet?                                    
                    Please respond to                                                    


I haven't tried this yet, but I found these instructions
while reading a FAQ at jGuru:

Here are some entries that may help answer your question:

53309 has a great discussion of how to get to information
in various scopes: request, page, session and application.


Ken Kress                     
Osprey Partners LLC                                  610.240.7289

----- Original Message -----
From: <>
To: <>
Sent: Wednesday, July 19, 2000 9:54 AM
Subject: Re: Use a jsp:useBean Bean from a servlet?

> Hi Matt,
> thank you, but thats what I meant with "setAttribute/getAttribute",
> setValue/getValue is deprecated in servlet api 2.2.
> When I put the bean in the session I have it twice
> (in the jsp pagecontext and in the session).
> I was looking for a way to use the bean I created
> via <jsp:useBean id="id" class="Class" scope="session" />
> in a servlet in the same session
> Regards
> Christian Menzel

View raw message