• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

added non sticky request params from a jsp

 
Andrew Mcmurray
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

I am trying to add a request param from a jsp. Right now I am using <portlet:renderURL> in the jsp. That works, except that the param never goes away. So the next time the porlet is called the param is still there. Is there anyway I can either clear the param, reset it in the doView() method of the portlet, or set it in the jsp as not sticky?

Thanks,

AMD
 
Jesus Angeles
Ranch Hand
Posts: 2068
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One way is:

When your portlet 'dispatches' to the jsp, add a parameter to the jsp, to indicate what params or whatever you want in your jsp.

e.g.

>> in your portlet, ... url of jsp has ?displayParams=no

>> and in your jsp, you can make scriptlets to decide what kind of Render URLs you want, some with param, some doesnt
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic