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
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply locked New topic


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é

Joined: Nov 24, 2005
Posts: 14688

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
I agree. Here's the link:
subject: jsp:param
It's not a secret anymore!