I would like to get hold of the ActionMappings object holding for a
Struts webapp, from an ActionServlet subclass.

In this subclass I have replaced ActionServlet.init() to first do a
super.init(), and then call a function that iterates over the
ActionMappings object to find all ActionForward objects, get the path
of each ActionForward object, add a directory prefix to the path, and
see if a file exists with the new path, and if it does, replace the
path of the ActionForward.

The idea is to allow local customizations of a standard webapp, by
placing JSPs with identical names to the standard JSPs, in a
customization subdirectory.

In Struts 1.0* I used the ActionServlet.mappings field, but in Struts
1.1 I couldn't find an ActionMappings object anywhere.

Does anyone know if where I can find this object, or what I should use
instead?  Ie. where are the ActionForward objects stored in Struts
1.1? 

Thanx!


- Steinar




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to