Two Laptop Bag*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes jsp:param Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply locked New topic
Author

jsp:param

dolly shah
Ranch Hand

Joined: Jun 18, 2007
Posts: 383
From the book HFSJ, chapter:, page:415
"if the param name used in <jsp aram> already has a value as a request parameter, the new value will overwrite the previous one. Otherwise, a new request parameter is added to the request."

Isn't the <jsp aram> is for customize the page? Then why in above text they have mentioned about request parameter. I am not getting what they want to say from above paragraph. Can anyone please explain?.


SCJP-1.5<br />SCWCD-1.4
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Customize the page ? It depends on what you mean by customize. This tag is used in jsp:include, jsp:forward, and jsp arams, to pass request parameters to the page you are including/forwarding. Check the specification "JSP.5.6 <jsp aram>" and you'll understand that it as something to do with request parameters.


[My Blog]
All roads lead to JavaRanch
 
Don't get me started about those stupid light bulbs.
 
subject: jsp:param