Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to access request parameters in Faces Portlets

 
Pallavi Roy
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

i have a portlet and i have created a URL mapping.
I am using Websphere Portal Server 5.1 and RAD 6.0.
Where i intend to pass a request parameter as :
http://localhost:9081/wps/myportal/Pagination?name=pallavi

And in my Faces Portlet code i want to use the paramter to display the name in scriptlet code.In this way :
<% String userValue = request.getParameter("name"); %>
Hi !! <%= userValue %>

But this doesn't seem to work.
i only get the message :
Hi !! null

What is the reason for the request parameter for not being visible.

Best Regards,
Pallavi
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic