aspose file tools*
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
Author

SpringMVC 2.5 and DisplayTags

Rendi Artha
Greenhorn

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.

Rgds,
Rendi Arta


Rendi Artha
Greenhorn

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


Rgds,
Rendi Arta
max paz
Greenhorn

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
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

"Jimmy"

Please check your Private Messages for an important JavaRanch message.

Thanks

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SpringMVC 2.5 and DisplayTags
 
Similar Threads
Getting Problem in display tag with struts
making of grid using display in struts 1.2
Using Displaytag, Checkboxes and Struts to get values - I'm a bit lost
Pagination Problem using displayTag 1.2
Spring MVC - methodNameResolver isn't recognizing the method in the Controller's methods