A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Web Component Certification (SCWCD/OCPJWCD)
Joined: Feb 18, 2007
Jan 06, 2008 18:38:00
If the �class� and �type� attributes of a useBean tag, do not belong to the same hierarchy, and are used in the same tag; then the code does not compile.
True or false ?
I think the answer is true, but I am a little confused.
Joined: Sep 26, 2006
Jan 06, 2008 20:16:00
Yes, it won't compile. This is just java...if you have two different class hierarchy and you do something like this SomeClass obj = new SomeOtherClass (), will result in a compile time error. It is the same thing you have mentioned.
SCWCD 1.4 - Hints for you
SCBCD Hints - Demnachst
, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
I agree. Here's the link:
subject: useBean doubt
Jsp and javabean
WSAD5.1 to RAD7 migration
use of scope in useBean tag and session in page tag
Redirection after session Timeout.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014