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 <s:iterator /> question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 <s:iterator /> question" Watch "Struts2 <s:iterator /> question" New topic

Struts2 <s:iterator /> question

Ruben Demuynck

Joined: Dec 26, 2004
Posts: 6

The fileNames is a String[]
I know I can retrieve the current String in the loop with <s:property/>, but i also want to give this value to my custom tag (see the ???).
However I want to send the value as a parameter when calling the listfiles action. But i can't do:
<s:param name="path" value="<s:property/>" /> .
I have been looking for a while now and tried all sorts of things but I cannot find a solution.
Can anybody tell me how I can do this?

I agree. Here's the link:
subject: Struts2 <s:iterator /> question
jQuery in Action, 3rd edition