Thanks Maurizio.

One of my key problems is the fact that there seems to be a problem
with the spring integration when I extend this implementation. It
says, i need to add the ContextListener to the web.xml. I was not able
to figure out how I could enable my applicationContext.

Finally I left out the Struts-Testcase and used:

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations={"classpath*:applicationContext.xml"})

without it.

Some javadocs on the class on how to do that would be fine also, maybe
in combination with the issue you opened.

Cheers


On Wed, Aug 3, 2011 at 6:13 PM, Maurizio Cucchiara
<maurizio.cucchi...@gmail.com> wrote:
> Opened https://issues.apache.org/jira/browse/WW-3667
>
> On 3 August 2011 18:07, Maurizio Cucchiara 
> <maurizio.cucchi...@gmail.com>wrote:
>
>> Hi Christian,
>> SJ4TC is /relatively/ young [1] and so there are no many documented use
>> cases on the web.
>> Anyway it would not be difficult to add the executeAction method.
>> I'm going to open a new issue.
>>
>> [1] https://issues.apache.org/jira/browse/WW-3403
>>
>> On 3 August 2011 13:56, Christian Grobmeier <grobme...@gmail.com> wrote:
>>
>>> Hello all,
>>>
>>> today I tried to figure out how one can use StrutsJUnit4TestCase. I am
>>> currently puzzled. I found docs for the older implementation for
>>> Junit3 of course, but nothing on the StrutsJUnit4TestCase class. Any
>>> pointers?
>>>
>>> With the old stuff i simply did: this.executeAction() and all was
>>> well. Now it seems I have to give the class a web.xml - how?
>>>
>>> Thanks in advance
>>>
>>> Christian
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>>> For additional commands, e-mail: user-h...@struts.apache.org
>>>
>>>
>>
>>
>> --
>> Maurizio Cucchiara
>>
>
>
>
> --
> Maurizio Cucchiara
>



-- 
http://www.grobmeier.de

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to