java - How to get all actionbean classes at contextInitialized() -
The answer to the same question is given here: It seems that only one action works in the Bean Code, that is: When a request is actually received - what I want, the list of all the action in the list is the listener code, for example the beginning of the context () function. Error occurred:
net.sourceforge.stripes.exception.StripesRuntimeException: Some existing stripeers are trying to access configuration, but the current request was never done through StripesFilter ! As a result the appropriate configuration object may not be located. Please take a look at the exact URL in your browser's address bar and make sure that any requests for the URL are made to your web. According to the Filter Mapping in XML, the filtered will be filtered through the strip footer. On net.sourceforge.stripes.controller.StripesFilter.getConfiguration (StripesFilter.java:160) net.sourceforge.stripes.util.CryptoUtil.encrypt (CryptoUtil.java:123) My The objective code is to automatically start all the plug-in classes added later without maintaining a list of all other operations. Any remedy? (Or, at least, is it possible to do this?)
Best regards,
OK is . After a while, I discovered the solution: Using the stripes ResolverUtil
ResolverUtil Thanks!
Comments
Post a Comment