Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJWCD
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Web Component Certification (OCEJWCD)
Type and Class attributes problem in jsp useBean
Chaminda Amarasinghe
Ranch Hand
Posts: 413
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
<
jsp
:useBean type="com.test.Person" id="empD" scope="request"/>
in here Person is a super class of empD's class (Employee exteds Person)
can we set the propery of "empD" that belogs to Employee but not to Person using <jsp:setProperty>
Christophe Verré
Sheriff
Posts: 14691
16
I like...
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I think that you can, as the container will use reflection to retrieve the getter's name.
[My Blog]
All roads lead to JavaRanch
Chaminda Amarasinghe
Ranch Hand
Posts: 413
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
any others idea.
because in pure
java
we cant do this? I tried in here and it works without error..
Can senior person answer this why?
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
page 360 if property="*"
doubt on jsp:useBean tag
useBean
Question on polymorphic bean references.
jsp usebean
More...