Aaron Smuts wrote:
To just get a list you could do something like this, I guess:
In an Action class put the getServlet, else omit if in the servlet.
Enumeration enum =
getServlet().getServletConfig().getInitParameterNames()
Then you could look for the ones that start with "config/"
A more robust mechanism would be to iterate through all of the servlet
context attributes, and check for "instanceof ModuleConfig". Once you
know that the object is indeed a ModuleConfig, you can cast it to that
API, and do things like getPrefix() to find the corresponding module prefix.
This doesn't tell you much.
Aaron Smuts
Craig
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]