This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes on-line!
See this thread for details.
The moose likes Servlets and the fly likes I need some help here... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "I need some help here..." Watch "I need some help here..." New topic
Author

I need some help here...

mocca az
Ranch Hand

Joined: Mar 07, 2001
Posts: 93
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

Joined: Nov 06, 2000
Posts: 1510
In this context, it seems like a mistake.

Bosun


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I need some help here...