--- On Tue, 9/23/08, Emil Lundberg wrote:
> (Sorry for the double post)
> I looked around a bit in the navigator and found this file:
> 
> <project-modules id="moduleCoreId"
>                  project-version="1.5.0">
>   <wb-module deploy-name="MyProject">
>       <wb-resource deploy-path="/" source-path="/content"/>
>       <wb-resource deploy-path="/WEB-INF/classes"
>                    source-path="/src"/>
>       <wb-resource deploy-path="/WEB-INF/classes" 
>                    source-path="/build/classes"/>
>       <wb-resource deploy-path="/WEB-INF/classes" 
>                    source-path="/classpath"/>
>       <property name="context-root" value="MyProject"/>
>       <property name="java-output-path"/>
>   </wb-module>
> </project-modules>
> 
> So it seems struts.xml is deployed to /WEB-INF/classes, not
> the context root.

The struts.xml file should be deployed to the classpath; this is correct 
behavior.

See that "context-root" property? That's the *application context* (which you 
can discover more easily than that). Your URLs, then, will look like this: 

http://localhost/MyProject/baz.action

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to