struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mats Nyberg <>
Subject Re: How to render an action URL
Date Sun, 12 Jul 2015 16:51:03 GMT
I must appologise for my last mail. I must have been exhausted or worse writing it.

What I have done so far, not mentioned previously is:

 - An @ActionMenu(”path/to/menuitem”)

 - A DispatcherListener, added in an ServletContextListener

After the DispatcherListener have run through all declared actions of the app I 
have collected a data structure that holds both

 - tree structure of ActionMenuItems and their parents

 - a collected list of [namespace, actionname, menupath] for annotated actions
   this could be used by an Interceptor to set actice/selected states in the Session
   object, for instance.

Now, I have tried to get hold of a Struts object to help me render action urls for the list
of annotated action tuples. A pointer to the way to do this in Struts would be honestly

And my honest appologices for the last mail as well.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message