This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I need some help here...

 
mocca az
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While setting parameter username from request to name property of user bean we can do it two ways.
1) <jsp:setProperty name="user" property=="name" param=="username"/>
2) <jsp:setProperty name="user" property=="name" param==<%= request.getParameter("username") %> />
I'm ok with all this except property== .... Are two equals signs legal? Why?
Any explanation is greatly appreciated...
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In this context, it seems like a mistake.

Bosun
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic