This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem on page import directive

 
Bob CHOI
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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?





 
Ali Gohar
Ranch Hand
Posts: 572
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bob CHOI
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Ali
i was mislead by the exception msg...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic