I'm using struts2 with appengine. For some reason, appengine is
ignoring my <welcome-file> in my web.xml. When I goto 
http://localhost:8888/index.jsp
it works just fine. It gives me the following error when I try and go
to http://localhost:8888/

-----------------------
HTTP ERROR 404

Problem accessing /. Reason:

    There is no Action mapped for namespace / and action name .

Powered by Jetty://
------------------------

Here is what my web.xml looks like:

--------
<?xml version="1.0" encoding="utf-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns="http://java.sun.com/xml/ns/javaee";
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; version="2.5">
    <filter>
        <filter-name>struts2</filter-name>
        <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</
filter-class>
    </filter>
    <filter-mapping>
        <filter-name>struts2</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>

        <welcome-file-list>
                <welcome-file>index.jsp</welcome-file>
        </welcome-file-list>
        <listener>
                
<listener-class>com.login.appEngine.OgnlListener</listener-class>
        </listener>
</web-app

------

What's weird is that I found that someone was having the same problem
with Websphere:
http://www.ibm.com/developerworks/forums/thread.jspa?threadID=320833

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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?hl=en.

Reply via email to