This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
sakthi vadivel wrote:hi mark
The parameter values are stores in request object so you can get the value using getAttribute(paramName, scope) method in PageContext class.
Thanks, but this does not work. It may be something to do with the quotes, they need to be escaped or something. Im new to EL and JSTL, but I know using a scriplet I could say
sakthi vadivel
Ranch Hand
Joined: Dec 16, 2007
Posts: 41
posted
0
sorry for inconvenience
you can try using pageScope object in EL. ${pageScope["requestparamName"]}.
sorry if i am wrong.
Mark Wa
Ranch Hand
Joined: May 29, 2009
Posts: 122
posted
0
sakthi vadivel wrote:sorry for inconvenience
you can try using pageScope object in EL. ${pageScope["requestparamName"]}.
sorry if i am wrong.
Thanks for the help, but this gets the parameter names. Im after the values.
I have tried googling. Im after a print out of the parameter names and values. I cant grab the values without knowing the names, and im unsure of how to use EL to loop around all the names and use each one to find the value. I can do it quite simply using scriplets but they are messy.
${param.name} would only get the value of the parameter called "name"