• Post Reply Bookmark Topic Watch Topic
  • New Topic

Request Parameters in EL

 
sangeeta kapoor
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

prints the request parameter submitted through a form. But I don't want to print it but put it in a variable. In other words do something like this (without using scripting)



Please tell me how can I do this.
 
satishkumar janakiraman
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi try this

<c:set var="name" value="${param.name}" />

I hope it will help.

bye for now
sat
 
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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!