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:setProperty Wild Card Behavior

 
Michael Vargenstien
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anybody know the default behavior if a java bean doesn't completely match the request parameters how the * property behaves? Does it simply skip the setters?

For example:


URL:
http://myWebapp/contextRoot/servlet.do?firstName=Joe&lastNameParam=Blow

JSP:


ok, so point out the question, lastNameParam doesn't conform to the myBean member called "lastName".

Reason I ask is there is a similiar question in HFJS book but I didn't see anywhere where they actually mention it explicitly? Any ideas?
 
Ranil Liyana Arachchige
Ranch Hand
Posts: 71
Hibernate Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Michael,

If you do not mind could you please elaborate on the question again?

Regards,
Ranil
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic