I have an application that is successfully running in the local web
server but when I upload and run it at
    http://thearsmonsters.appspot.com

it throws the following 404 error:
    org.apache.struts.action.RequestProcessor processMapping: Invalid
path was requested /views/layouts/front_page_layout.jspx/welcome

I use:
  * app-engine-api 1.3.4
  * Struts 1.2.9
  * tiles plugin is included in struts-1.2.9.jar
  * Spring 3.0.1 (i think this is not relevant here)

I think the following is happening:
  1. In web.xml the welcome file is welcome.do
  2. In web.xml the servlet mapping for struts is *.do as usual
  3. In struts-config.xml the tile (parameter) for welcome.do
is .FrontPage
  4. In tiles-defs.xml .FrontPage extends .FrontPageBase
  5. In tiles-defs.xml .FrontPageBase uses the layout (page) in "/
views/layouts/front_page_layout.jspx"

Somewhere there may be a redirect which is done well in local web
server, but it doesn't works in production.

I found another similar (and fixed) problem in
http://groups.google.com/group/google-appengine-java/browse_thread/thread/5a6b05c1123f9bba
The current version of will-it-play list says that
   * Struts 1.2.28 is COMPATIBLE  (notice that version 1.2.28 doesn't
exists, it may mean 1.2.8)
   * Tiles 2.0.7 is COMPATIBLE and "Older versions may not work"

But I'm not sure if I must to upgrade my code to Struts 2 (2.0.14), or
to Struts 1.3, or if it is only a configuration issue in the app
engine environment.
Any idea of what it may be?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to