This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[resolved] Standard Action error

 
Niala Nirell
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ranchers,

I'm just starting studying for the exam and I have an error I cannot resolve, I guess it is really easy but I have no idea.

Here there is what I try to do:

result.jsp



MyServlet.java


The error in the browser


The error in tomcat logs


Can someone explain me what is wrong?
[ October 14, 2008: Message edited by: Alain Sellerin ]
 
Niala Nirell
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found what was wrong. Actually the problem was in Person.java, there were no no-arg constructor. Person.java wasn't following bean specifications.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic