• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

DisplayTag External Paging with Struts2

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Am newbie to Struts2 and DisplayTag. Am trying to use External Paging in DisplayTag. I've taken a reference from DisplayTag site DisplayTag External Paging

As to get the parameters from TableTagParameters, i've implemented ServletRequestAware in my action class. Before calling Service layer am initiating the variables needed to pass to fetch only particular data from DB. But everytime request parameters are null only. On top of that am getting the OGNL inappropriate expression error for the displaytag parameteres, as it generates the parameter starts with d-.

My Action class code is:

when i try to print


always it throws null pointer exception. is this because OGNL not allowing the parameter or am i missing some code? please help me out.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!