It looks like you're requesting a page with suffix mapping ("helloWorld.do")
but you've configured struts to use prefix mapping ("/*"). What happens if you
change to "<url-pattern>*.do</url-pattern>"?
- George
http://www.idiacomputing.com/
> -----Original Message-----
> From: Peter Steil [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 17, 2006 2:01 PM
> To: [email protected]
> Subject: Struts2
>
>
> Hi, I am trying to get started on Struts2 using the nightly
> build 'struts2-core-2.0.0-SNAPSHOT-20060816.jar'. I started
> with the very basic example from
> 'http://cwiki.apache.org/WW/hello-world.html' and I still get
> the message 'The requested resource (/mystruts/helloWorld.do)
> is not available.' in my browser. My web.xml looks like this:
>
> <?xml version="1.0"?>
> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
> Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
>
> <web-app>
> <display-name>My Application</display-name>
> <filter>
> <filter-name>action2</filter-name>
>
> <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</
filter-class>
> </filter>
>
> <filter-mapping>
> <filter-name>action2</filter-name>
> <url-pattern>/*</url-pattern>
> </filter-mapping>
> <listener>
>
> <listener-class>org.springframework.web.context.ContextLoaderL
> istener</listener-class>
> </listener>
> </web-app>
>
>
> Can anybody help me?
> Thanks,
> Peter
> --
>
>
> Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze
> Zeit! "Feel free" mit GMX DSL: http://www.gmx.net/de/go/dsl
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]