Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SpringMVC 2.5 and DisplayTags

 
Rendi Artha
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Jimmy"

Please check your Private Messages for an important JavaRanch message.

Thanks

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic