> On 11 Sep 2017, at 18:24, Yasser Zamani wrote:
>
> I sense you may think Struts uses Spring to inject Container. No,
> "Internally, the framework uses its own dependency injection container
> that is very similar to Google Guice" [1].
>
> So do not worry about Spring
2017-09-11 16:28 GMT+02:00 LAW Andy :
> Not *quite* sure what you’re asking with regard to the request and JSPs bit,
> but I’ll try to describe:
Do you access /my-web-app/index.jsp or /my-web-app/index.action ?
> applicationContext.xml configures (amongst other things)
I sense you may think Struts uses Spring to inject Container. No,
"Internally, the framework uses its own dependency injection container
that is very similar to Google Guice" [1].
So do not worry about Spring and it's auto-wiring.
Did you try "devmode=true" and then examining output for any
Does anyone know if the default autowiring method changed in Struts between
2.5.10 and 2.5.13?
> On 11 Sep 2017, at 15:28, LAW Andy wrote:
>
>
>> On 11 Sep 2017, at 15:13, Lukasz Lenart wrote:
>>
>> 2017-09-11 16:09 GMT+02:00 LAW Andy
> On 11 Sep 2017, at 15:13, Lukasz Lenart wrote:
>
> 2017-09-11 16:09 GMT+02:00 LAW Andy :
>> (Indirectly) from a JSP. This is “furniture” on the web page.
>>
>> Each action has an “ActionPropertyKey” annotated on it. Each Action inherits
>>
2017-09-11 16:09 GMT+02:00 LAW Andy :
> (Indirectly) from a JSP. This is “furniture” on the web page.
>
> Each action has an “ActionPropertyKey” annotated on it. Each Action inherits
> from a base class that has a getActionTitle() method on it.
>
> JSP furniture calls
> On 11 Sep 2017, at 15:03, Lukasz Lenart wrote:
>
> 2017-09-11 16:01 GMT+02:00 LAW Andy :
>> I probably could, but I think this is less of an Action problem and more of
>> a struts/spring dependency injection problem. I don’t think there’s
2017-09-11 16:01 GMT+02:00 LAW Andy :
> I probably could, but I think this is less of an Action problem and more of a
> struts/spring dependency injection problem. I don’t think there’s anything
> wrong with the Action class code itself, unless there’s an annotation
I probably could, but I think this is less of an Action problem and more of a
struts/spring dependency injection problem. I don’t think there’s anything
wrong with the Action class code itself, unless there’s an annotation that I
need to add now that wasn’t necessary with 2.5.10.1
> On 11 Sep
I recently have resolved very similar issue at [1].
That was because of wrong PUBLIC ID in his validator xmls.
But in general, please add to your struts.xml and configure log4j2 for your application [2] and
then run your application and review it's output for any warnings. I
guess you should
2017-09-11 15:51 GMT+02:00 LAW Andy :
> I recently upgraded the struts 2 library in an old web application from
> 2.5.10.1 to 2.5.13. Simultaneously I upgraded Spring (which we use for
> managing the database connections and some other bits and bobs) from 4.3.7 to
>
I recently upgraded the struts 2 library in an old web application from
2.5.10.1 to 2.5.13. Simultaneously I upgraded Spring (which we use for managing
the database connections and some other bits and bobs) from 4.3.7 to 4.3.10.
Now, the application runs but the actions do not have a Container
12 matches
Mail list logo