Bugs item #971619, was opened at 2004-06-12 18:53
Message generated for change (Comment added) made by bunyawat
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: Open
Resolution: None
Priority: 5
Submitted By: bunyawat singchai (bunyawat)
Assigned to: Nobody/Anonymous (nobody)
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 16:37

Message:
Logged In: YES 
user_id=96415

It work.

Thank you

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

Comment By: Matt Raible (mraible)
Date: 2004-06-13 15: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 new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to