Seems like here may be a possible not-so-hard solution:
http://old.nabble.com/Using-tiles-2-with-struts-1-td19956567.html

  1. Upgrade Struts from 1.2.9 to 1.3 (wich is very recommended for
security issues)
  2. Use the integration layer of String with Tiles.

Here you are how to integrate Spring 3.0.x with Tiles!
http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/view.html#view-tiles

This should match the GAE requirements (Struts 1.2.8+, Tiles 2.0.7).
Good luck!

On Jun 4, 1:37 pm, tothemario <[email protected]> wrote:
> 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
>   *tilesplugin 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. Intiles-defs.xml .FrontPage extends .FrontPageBase
>   5. Intiles-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 
> inhttp://groups.google.com/group/google-appengine-java/browse_thread/th...
> 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)
>    *Tiles2.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