0 Replies Latest reply on Mar 2, 2010 6:45 PM by superdepor

    trying out a portlet from the reference guide

    superdepor

      I'm trying out the JSF portlet example a user types in her name and pushes the submit button and a new jsp page displays her name!

       

      A JSPHelloUserPortlet checks if the name parameter is set, and based on this one of the jsp pages will be shown for the user.

       

      And here is where my problem raise!

       

      The thing is once the request parameter is set in the first JSP then it will be cashed for all subsequent requests. So the User will see the second JSP page every time after submitting her name once.

       

      Im wondering how I could erase the request parameter...

       

      I didn't find any method for it in the API for example  request.removeParameter(String string).

       

      How can I overcome this problem?