File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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:
: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 JSP 2.0 spec such as
, try putting this on top of your page:
<%@ page isELIgnored="false" %>
What do you see now?
I agree. Here's the link:
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-2014