Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp:useBean question

 
Ashwin Kumar
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the Bean doesn't have parameterless contructor - Is it compile time error or runtime ?

In some mock exams it is stated as compile time error and somewhere it is Instantiation Exception is thrown(runtime). Please clarify.
 
Chandra Bhatt
Ranch Hand
Posts: 1710
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Root cause:
java.lang.NoSuchMethodError: com.examples.beans.Person: method <init>()V not found



Thanks,
[ June 13, 2007: Message edited by: Chandra Bhatt ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic