File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
I agree. Here's the link:
subject: SpringMVC 2.5 and DisplayTags
It's not a secret anymore!