Forums Register Login

problem on page import directive

+Pie Number of slices to send: Send


JasperException thrown when requesting the jsp page:
org.apache.jasper.JasperException: The value for the useBean class attribute MyBean is invalid



Now, the property returned correctly when using fully qualified bean name instead of page import directive. Why?





+Pie Number of slices to send: Send
You will have to give the fully qualified name of the bean, i think jsp:useBean create the object using reflection type of thing thats why it needs fully qualified name
+Pie Number of slices to send: Send
Thanks, Ali
i was mislead by the exception msg...
Willie Smits can speak 40 languages. This tiny ad can speak only one:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 972 times.
Similar Threads
JSP - UseBean
Mock exam question
jsp:useBean question
jsp:include
Java Beans
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 15:59:51.