aspose file tools*
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
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.
 
Consider Paul's rocket mass heater.
 
subject: Struts2 Display tag naming convention
 
Similar Threads
Want to display result on the page
struts and display tag
Display tag and Struts multibox tag
Filter being called for Struts' forwarded JSP
Pagination in Struts2