Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

[S2] Passing URL as parameter between JSP pages

Srinivas.N.

2007-07-29



I am developing an app for which there is a common pagination bar (call it
"paginationInclude.jsp") that is included at the bottom of several different
pages.

The pagination include needs to get a "base url" from the including page and
then append a "pagenum" param to that URL to generate the final URL for the
numbers in the pagination bar.

How do I pass the "base url" from the including page - if I use <s:url> tag
to generate the "base url" in the including page how do I retrieve that in
paginationInclude.jsp and how do I just attach an extra param to the base
url in "paginationInclude.jsp" to generate the new url?

Thanks
Srinivas
--
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.