Is my struts.xml never read?

2008-09-22 Thread Emil Lundberg
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 locati

Re: Is my struts.xml never read?

2008-09-22 Thread Emil Lundberg
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

Re: Is my struts.xml never read?

2008-09-23 Thread Emil Lundberg
trying to hit. Your web.xml relevant part will also behelpful ... On Mon, Sep 22, 2008 at 5:43 PM, Emil Lundberg <[EMAIL PROTECTED]>wrote: That's strange... When i set in struts.xml, struts goes into devMode, but still doesn't find my action mappings. Did I do something wrong? I

Re: Is my struts.xml never read?

2008-09-23 Thread Emil Lundberg
out of my war: foo - WEB-INF -lib struts2-core.jar (and the other 3 minimum jars you need) -classes -struts.xml -jsp -page -home.jsp -web.xml you said you have a classpath folder? Emil Lundberg wrote: Yes, it is configured to intercept all requests, and I wouldn

Re: Is my struts.xml never read?

2008-09-23 Thread Emil Lundberg
end .settings/org.eclipse.wst.common.component- So it seems struts.xml is deployed to /WEB-INF/classes, not the context root. /Emil Dave Newton skrev: You never answered the question about where you were deploying it to: are you deploying it to the root context? Dave --- On Tue, 9/23

Re: Is my struts.xml never read?

2008-09-24 Thread Emil Lundberg
very interested to learn how in the world do you deploy to the root context using Eclipse (at least doing development). I'm pretty sure WTP always forces you to use a context name, which typically is the name of the assigned project. At a minimum, in your case, you should be seeing your app