Is the Struts Dispatcher configured in your web.xml to intercept all
requests?

Carlos Luis Zúñiga Sibaja
__________________________
[EMAIL PROTECTED]

divide et impera...


On Mon, Sep 22, 2008 at 3:43 PM, Emil Lundberg <[EMAIL PROTECTED]>wrote:

> That's strange... When i set <constant name="struts.devMode" value="true"
> /> in struts.xml, struts goes into devMode, but still doesn't find my action
> mappings. Did I do something wrong? I've worked with struts before but I
> just can't seem to get this right for some reason... Could it have something
> to do with that I'm not using Spring yet in this project?
>
> /Emil
>
>
> Dave Newton wrote:
>
>> --- On Mon, 9/22/08, Emil Lundberg <[EMAIL PROTECTED]> wrote:
>>
>>
>>> I'm having a problem with Struts2 in Eclipse. I've
>>> set all the JARs up and the FilterDispatcher launches
>>> properly. The problem is that it seems my struts.xml is never read,
>>> because I keep getting a message saying "There is no Action mapped for
>>> namespace / and action
>>> name home. - [unknown location]" when trying to access
>>> http://localhost/home.action (yes, Tomcat is configured to port 80).
>>> I've searched all over for a week or so but I still haven't found a
>>> solution. I think the problem is where I put struts.xml or some
>>> configuration somewhere.
>>>
>>>
>>
>> Are you deploying it to the root application context?
>>
>> If you put struts.xml at the root of your source directory it should be
>> deployed properly.
>> If you haven't already, turn on devMode. You can also set the XWork and S2
>> logging to DEBUG to get more of an idea what's happening with the
>> configuration.
>>
>> Dave
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to