Bugs item #971619, was opened at 2004-06-12 02:53
Message generated for change (Settings changed) made by mraible
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=971619&group_id=73068

Category: main tag library
Group: v 1.0-b3
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: bunyawat singchai (bunyawat)
>Assigned to: Matt Raible (mraible)
Summary: Pagination in Springframework not working properly 

Initial Comment:
I try pagination feature in springframework. It could
display firstpage properly. However the link to
nextpage couldn’t work since the url are populate
wrongly like this.

http://localhost:8080/ats/WEB-INF/jsp/orders.jsp?d-1588-p=7

It should look like this. 
http://localhost:8080/ats?d-1588-p=7

With this form the nextpage link will work properly.


I have investigate the code to find out how the
pagination populate nextpage links and found that java
class "DefaultRequestHelper.java"  line  57 implement as

String requestURI = this.request.getRequestURI();

I changed this line by

String requestURI =
this.request.getRequestURL().toString();

And compile it. This new fix soles my issue.

Is it possible to your team fix this therefore I can
use this with in springframwork with out any modify
your source code again.

Thank you.
Bunyawat
[EMAIL PROTECTED]

By the way in springframework we save jsp files in 
"/WEB-INF/jsp/" subdirectory


----------------------------------------------------------------------

Comment By: bunyawat singchai (bunyawat)
Date: 2004-06-13 00:37

Message:
Logged In: YES 
user_id=96415

It work.

Thank you

----------------------------------------------------------------------

Comment By: Matt Raible (mraible)
Date: 2004-06-12 23:09

Message:
Logged In: YES 
user_id=226669

Try changing your requestURI attribute on the table tag.

requestURI=""


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=971619&group_id=73068


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to