How to access request parameters in Faces Portlet
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > How to access request parameters in Faces Portlet




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    How to access request parameters in Faces Portlet  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-09-07 06: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





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:16 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register