noobie .. breaking struts.xml ...

2008-01-02 Thread Mufaddal Khumri
I need to break my struts.xml into modules. So I came across this page: http://struts.apache.org/2.x/docs/can-we-break-up-a-large- strutsxml-file-into-smaller-pieces.html Accordingly, I tried this: struts.xml: == !DOCTYPE struts PUBLIC -//Apache Software Foundation//DTD Struts

Re: noobie .. breaking struts.xml ...

2008-01-02 Thread Adam Ruggles
Looking at this pretty quickly it looks like you left out the class for your action=test On Jan 2, 2008 2:03 PM, Mufaddal Khumri [EMAIL PROTECTED] wrote: I need to break my struts.xml into modules. So I came across this page: http://struts.apache.org/2.x/docs/can-we-break-up-a-large-

Re: noobie .. breaking struts.xml ...

2008-01-02 Thread Mufaddal Khumri
Here are all the files with the TestAction as well. I still get the Exception. Any idea as to whats going on? struts.xml -- !DOCTYPE struts PUBLIC -//Apache Software Foundation//DTD Struts Configuration 2.0//EN http://struts.apache.org/dtds/struts-2.0.dtd; struts constant

Re: noobie .. breaking struts.xml ...

2008-01-02 Thread Dave Newton
--- Adam Ruggles [EMAIL PROTECTED] wrote: Looking at this pretty quickly it looks like you left out the class for your action=test It will just forward to the success result if no class is specified, like S1's ForwardAction, but implicit. d.

Re: noobie .. breaking struts.xml ...

2008-01-02 Thread Dave Newton
--- Mufaddal Khumri [EMAIL PROTECTED] wrote: package name=cw namespace=/cw extends=struts-default The error I get: 8188 ERROR org.apache.struts2.dispatcher.Dispatcher serviceAction [512] - Could not find action or result There is no Action mapped for action name test.

Re: noobie .. breaking struts.xml ...

2008-01-02 Thread Mufaddal Khumri
Dave, I managed to get it working. The problem was that I had my struts.xml and struts-cw.xml inside of WEB-INF/ instead of WEB-INF/classes/ Thanks. On Jan 2, 2008, at 8:50 PM, Dave Newton wrote: --- Mufaddal Khumri [EMAIL PROTECTED] wrote: package name=cw namespace=/cw