Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

org.apache.struts.action.APPLICATION ?

 
Brendon Woodford
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all ,

where do we find the key org.apache.struts.action.APPLICATION?
I know that this is the key of the org.apache.struts.config.ApplicationConfig class stored in the context scope.
My question is where does this key originate from?
I have seen the Globals class and the list of all the keys defined but I did not find it there?


Next Question is if the default application module is stored with the key org.apache.struts.config.ApplicationConfig then if my application has another module configured in the web.xml <init-param>
<param-name>config/mod1</param-name>
<param-value>struts-mod2-config.xml</param-value>
</init-param>
then while storing this module which key is used? certainly not org.apache.struts.action.APPLICATION !!!

Please reply quickly its urgent.


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic