This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Spring and the fly likes SpringMVC 2.5 and DisplayTags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "SpringMVC 2.5 and DisplayTags" Watch "SpringMVC 2.5 and DisplayTags" New topic

SpringMVC 2.5 and DisplayTags

Rendi Artha

Joined: Jan 20, 2010
Posts: 29
I follow tutorial in Tutorial SpringDisplayTag
I made some changes as below

Controller : PagingSorting

Domain : User

View : displaytag.jsp

On first loading, successfully display well all record. The problem arise on second loading which is I want to view next page.
First access : http://localhost:8080/demo/displaytag.html
Second access (through paging) : http://localhost:8080/demo/WEB-INF/jsp/displaytag.jsp?d-49809-p=2

My question is how to handle request in displaytag not include prefix and suffix of original place jsp source (WEB-INF/jsp/displaytag.jsp)

Any help would be appreciate.

Rendi Arta

Rendi Artha

Joined: Jan 20, 2010
Posts: 29
well problem already solve and to help others with same problem, here the solution :
Just add property "requestURI" with empty string

Here for complete

Rendi Arta
max paz

Joined: Aug 10, 2011
Posts: 1
Hi my friend,

i'm from chile and i have a problem with pagination in Spring, now i'm using spring 3.0 and i follow every step from your post about displaytag, but i have problem with Map. do you have the code about pagination ?

Can you help me please?

best regards.
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276


Please check your Private Messages for an important JavaRanch message.



Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
It is sorta covered in the JavaRanch Style Guide.
subject: SpringMVC 2.5 and DisplayTags
jQuery in Action, 3rd edition