This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 Display tag naming convention" Watch "Struts2 Display tag naming convention" New topic
Author

Struts2 Display tag naming convention

Rebecca Green
Greenhorn

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: http://aspose.com/file-tools
 
subject: Struts2 Display tag naming convention