Thanks, unfortunately it didn't help me come and closer to a solution. The URLs pointing to the particular page are rewritten as they should with the context path in mind, and after all the correct controller is executed. May the Spring ViewResolver be affected somehow by this as well?
The strange thing is that it is only my own controller/view that has this behavior, not those that was originally created using appfuse:gen to get CRUD operations. Therefore I'm thinking if there are some XML-configuration or similar that I've missed that may result in this problem. Stefan On Wed, Jun 18, 2008 at 02:00, Matt Raible <[EMAIL PROTECTED]> wrote: > When you're using Jetty, there is not context path. When you're using Cargo, > there is. > > Hope this helps, > > Matt > > On Tue, Jun 17, 2008 at 1:53 PM, Stefan Pettersson <[EMAIL PROTECTED]> > wrote: >> >> I've got a strange issue that I've been unsuccessfull solving. >> >> A spring-basic full-source generated project on Maven 2.0.9, AppFuse >> 2.0.2. >> >> I've got a controller extending a SimpleFormController with a >> .jsp-page displaying the form that I've added "manually" (i.e. not >> using appfuse:gen). >> >> Everything works as it should using mvn jetty:run-war, but the Canoo >> WebTests fail with Page Not Found. Using mvn -Dcargo.wait and manually >> doing the exact same steps results in the "Page Not Found" error page. >> >> The showNewForm() method in the controller is executed and >> getFormView() is seems to be successfully set, at least in >> referenceData(). However, what works perfectly in Jetty now fails with >> a "Page Not Found". >> >> What might be wrong? Is there some default configuration or mapping >> that it may rely on that is not present in the Cargo/Tomcat testing >> environment? >> >> I'm quite new to Spring and AppFuse, so any tips on debugging this >> further are also greatly appreciated. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
