A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Web Component Certification (SCWCD/OCPJWCD)
usebean and scope
Rodrigo W Bonatto
Joined: Aug 20, 2004
Jan 14, 2005 10:38:00
I'm having problems with the following tag:
<jsp:useBean id="model" class="beanPackage.BeerExpert" scope="application">
<jsp:setProperty name="model" property="name" value="new value" />
when I try to get the property value of model bean using EL as follow:
I have the follow result:
What am I doing wrong?
Thanks in advanced.
SCJA, SCJP, SCJD, SCWCD, SCBCD5, SCDJWS, SCEA5
Joined: Aug 25, 2003
Jan 14, 2005 11:13:00
Assuming you are using a Web Container that implements
2.0 spec such as
, try putting this on top of your page:
<%@ page isELIgnored="false" %>
What do you see now?
subject: usebean and scope
whats the diff
request time expression
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013