Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts2 <s:iterator /> question

 
Ruben Demuynck
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,



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?

Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic