• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

List of all action mappings in struts config.xml

 
Lakshmi Ashok
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a struts-config.xml file with
<action-mappings>
<action path="/path1" ....></action>
<action path="/path2" ....></action>
<action path="/path3" ....></action>
</action-mappings>

Is there a way I can get a list of all the paths I have mentioned in my struts config file?

In the above case, I want to dynamically get path1,path2 and path3 as a complete listing of the mappings I have added.

Whenever I make any changes to the mapping, say, a deletion
<action-mappings>
<action path="/path2" ....></action>
<action path="/path3" ....></action>
</action-mappings>

I want to dynamically get path1 and path3 as a complete listing of the mappings I have added.

IS this possible at all?
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This question was answered recently in this thread.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic