aspose file tools*
The moose likes Struts and the fly likes struts2 question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts2 question" Watch "struts2 question" New topic
Author

struts2 question

Raj Bhandari
Ranch Hand

Joined: Oct 19, 2005
Posts: 97
Hi all,
I want to find out the size of a results list so I can display correct message.
In Struts 1.x, I'd do this:


But how do I do the same using Struts2 ? Is there a way now without JSTL tags for this?

Tks :-)
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
I'd suggest just using JSTL:

[ May 28, 2008: Message edited by: Merrill Higginson ]

Merrill
Consultant, Sima Solutions
Raj Bhandari
Ranch Hand

Joined: Oct 19, 2005
Posts: 97
Tks Merrill, I knew one option is jstl or we could do this:



Hopefully, it helps someone..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts2 question