Use the 
<jsp:useBean id="theBean" class="my.theBean"
scope="session"/>

Then use
<c:out value="${theBean.text}"/>



--- Frers Michael <[EMAIL PROTECTED]> wrote:

> Hello
> can someone explain me how i should use the <c:out
> tag in my situation:
> 
> 
> i have a bean "theBean" with a getter
> 
> 
> getText(String textid){
> ...
> ...
> return result;
> }
> 
> and somewhere ist set:
> 
> session.setAttribute("abean",theBean);
> 
> 
> how can i print now the result in my page?
> 
> <c:out value="${abean.text['xxxxxxx']}"/>
>  didnt work
> 
> Someone knows the solution?
> 
> Thanks for any help
> 
> Michael
> 



                
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to