File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts2 Display tag naming convention Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 Display tag naming convention" Watch "Struts2 Display tag naming convention" New topic

Struts2 Display tag naming convention

Rebecca Green

Joined: Dec 25, 2009
Posts: 16
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.
I agree. Here's the link:
subject: Struts2 Display tag naming convention
It's not a secret anymore!