need help in display tag..

I am displaying the records using display tag in the jsp.

there are 10 pages of records..

display tag showing page no.s in the page..

when the user clicks any page number it is showing that page with records..

so..How can get the page number, that the user clicked in the page...in the action class...

I am calling one action class when user clicks the page numbers..

plz help me its very urgent...

bye

Johnson.

[466 byte] By [Johnson.Na] at [2007-10-2 13:00:12]
# 1
No Replies as yet...
Johnson.Na at 2007-7-13 10:19:51 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
hiu can send the page number as hyper linke .and then u can collect it as request.getparameter(varname) in action class.
SuryaPrakash_Indiaa at 2007-7-13 10:19:51 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

Hi ,

Are you submitting to the server everytime you hit a new pagenumber?

If so, why don't you just (as suggested) put a parameter on your link telling which page you've hitted. <a href="....../ShowDisplay.do?pageId=1">Page 1</a>.

In your action, you can use your HttpRequest to get the info.

String pageNo = request.getParamater("pageId");

Isn't that the way to go?

SomeThingWeirda at 2007-7-13 10:19:51 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...