tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken Kress" <kkr...@ospreypartners.com>
Subject Re: Use a jsp:useBean Bean from a servlet?
Date Wed, 19 Jul 2000 18:46:30 GMT
Christian,

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:

http://www.jguru.com/jguru/faq/view.jsp?EID=739

http://www.jguru.com/jguru/faq/view.jsp?EID=53309


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

  Ken.

-- 
Ken Kress                               kkress@ospreypartners.com
Osprey Partners LLC                                  610.240.7289


----- Original Message ----- 
From: <Christian.Menzel@GIquadrat.de>
To: <tomcat-user@jakarta.apache.org>
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
> 
> 
> 



Mime
View raw message