2017-03-12 0:30 GMT+01:00 Heikki Hyyrö :
> I now that the particular example was a bit of a hack. DBConnectionManager
> inherited ActionSupport only for the sole purpose of getting easy access to
> the resource files (just rely on the framework to find it; no need to hard
>
11.03.2017, 09:20, Lukasz Lenart kirjoitti:
This is do the changes in ActionSupport's dependencies, you must
inject them first to have access to resource bundles.
Instead your approach with singleton you can use something like this
public class DbConnectionManager {
public
2017-03-11 0:21 GMT+01:00 Heikki Hyyrö :
> Hi,
>
> I decided to migrate a Struts-based application from Struts 2.3.x to 2.5.x.
> The application worked without problems with Struts version 2.3.29. After
> updating to 2.5.10, the application no longer seems to be able to read a
Hi,
I decided to migrate a Struts-based application from Struts 2.3.x to
2.5.x. The application worked without problems with Struts version
2.3.29. After updating to 2.5.10, the application no longer seems to be
able to read a root-level resource file "package.properties": calling
4 matches
Mail list logo