• 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
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts2 Display tag naming convention

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to display a table using Display tag. I am confused with the naming conventions. Can anyone explain in detail what 'name' and 'requestURI' should be set to...??

I know that requestURI should contain the path to my action class. But how am I supposed to mention it...?? Should I write it in struts.xml...?? Actual path to my action class is com.proj.action.CarDetails- how should i write this in 'requestURI'...??

In my action class, I'm fetching data and storing it in a List called cars. Should I place this in a session...?? I did read a lot of posts about the display tag, but am still confused about 'name' and requestURI'. Please explain.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic