Re: Struts app works on http://localhost:8888/ but gives error when deployed to app engine

40 views
Skip to first unread message

ashish kaduskar

unread,
Jun 22, 2012, 6:06:15 PM6/22/12
to google-a...@googlegroups.com
This issue was resolved after referring this post:

http://www.mkyong.com/google-app-engine/google-app-engine-struts-2-example/

On Friday, June 22, 2012 12:37:09 AM UTC-7, Ashish wrote:


Struts app works on http://localhost:8888/ but gives error when deployed to app engine
Here is the error
org.apache.tiles.impl.BasicTilesContainer render: Unable to find the definition 'null'


web.xml:

<?xml version="1.0" encoding="UTF-8"?>

<web-app id="WebApp_9" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">


    <display-name>Struts Blank</display-name>


    <filter>

        <filter-name>struts2</filter-name>

        <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>

    </filter>


    <filter-mapping>

        <filter-name>struts2</filter-name>

        <url-pattern>/*</url-pattern>

    </filter-mapping>


    <welcome-file-list>

        <welcome-file>index.html</welcome-file>

    </welcome-file-list>

    

<listener>

<listener-class>

org.apache.struts2.tiles.StrutsTilesListener

</listener-class>

</listener>

<context-param>

<param-name>tilesDefinitions</param-name>

<param-value>/WEB-INF/tiles.xml</param-value>

</context-param>


</web-app>


Reply all
Reply to author
Forward
0 new messages