wood burning stoves*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
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.
Consider Paul's rocket mass heater.
subject: Struts2 Display tag naming convention
Similar Threads
struts and display tag
Display tag and Struts multibox tag
Filter being called for Struts' forwarded JSP
Pagination in Struts2
Want to display result on the page