This discussion is archived
0 Replies Latest reply: Apr 12, 2012 9:50 AM by 927518 RSS

Set parameter page in jsp

927518 Newbie
Currently Being Moderated
I'm using jsp in oracle portlets.

I have a DisplayTag in my JSP.

This tag uses parameters for displaying the pagination links (indicating the current page number and providing hyperlinks to go to other pages) for a table.

Because I'm doing controlling the paging and because I may want to have the user leave the table and later return to the same page of the table, I need to be able to tell the DisplayTag, using the parameters, which page I'm displaying. I store the page information in session scope so that when the user returns to the page I can retrieve and display the correct records, but the DisplayTag is telling that user that he is seeing page 1 no matter which page is actually being displayed.

I can read the parameter with

String num = (String) renderRequest.getParameter("d-49653-p");

but I don't know how to set that parameter so the DisplayTag can use it.

Any ideas?


  • Correct Answers - 10 points
  • Helpful Answers - 5 points