Forums Register Login

useBean action and class attribute

+Pie Number of slices to send: Send
Hi all,

Why the class attribute in useBean action has to be fully qualified ?
I mean by using page import directive I can make the class visible
anyway, like this:

<%@ page import="my.wicket.pack.*" %>

and then

<jsp:useBean id="myId" class="MyClass">

but it doesn't work if the class is defined as my.wicket.pack.MyClass ...

Why ?

Cheers,

Adrian
All that thinking. Doesn't it hurt? What do you think about this tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 523 times.
Similar Threads
jsp:useBean question
problem on page import directive
Usebean: Fully qualified class name only?
Make and use bean in same jsp
What's wrong with my import declaration?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 23:02:55.