File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Is this legal in jsp:useBean... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Is this legal in jsp:useBean..." Watch "Is this legal in jsp:useBean..." New topic

Is this legal in jsp:useBean...

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...
I agree. Here's the link:
subject: Is this legal in jsp:useBean...
jQuery in Action, 3rd edition