Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
    Bookmark Topic Watch Topic
  • New Topic

jsp:param

 
dolly shah
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
  • Report post to moderator
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?.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!