• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

SpringMVC 2.5 and DisplayTags

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Jimmy"

Please check your Private Messages for an important JavaRanch message.

Thanks

Mark
reply
    Bookmark Topic Watch Topic
  • New Topic