Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to access request parameters in Faces Portlets  RSS feed

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 :

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,
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!