WebSphere Portal Server - How to access request parameters in Faces Portlet

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > January 2007 > How to access request parameters in Faces Portlet





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to access request parameters in Faces Portlet

2007-01-09, 1:57 am

Hi All,

i have a portlet and i have created a URL mapping.
Where i intend to pass a request parameter as :
http://localhost:9081/wps/myportal/...on?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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com