as many, I'm facing this damned error.
numerous post about this haven't been ale to solve my problem.

I have been trying to migrate from 2.0.14 to 2.1.x in the past, but hard to
revert to original version because of this.

The application still works if I specify the welcome-file manually in the
url.
That is to say http://localhost:8080/myapp used to work with 2.0.14 but not
anymore. 
But http://localhost:8080/myapp/index.jsp works with 2.1.6.

index.jsp is just <% response.sendRedirect("loginPageAction.action"); %>

web.xml contains:

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

<welcome-file-list>
        <welcome-file>/index.jsp</welcome-file>
    </welcome-file-list>

struts.xml looks like that:

<package name="ssl-default" extends="struts-default">
<package name="default" extends="ssl-default">

Again, everything used to work fine with 2.0.14. It is just that the
welcome-file don't seem to be taken into account.

I've tried the Config browser app and it works fine, displays all the
actions linked. But it also fail if one omit to specify the jsp file name:
http://localhost:8080/myapp/config-browser/ fails while
http://localhost:8080/myapp/config-browser/index.action works.

please help!!!

-- 
View this message in context: 
http://www.nabble.com/2.0.14-to-2.1.6%3A-There-is-no-Action-mapped-for-namespace---and-action-name-.----unknown-location--tp25641418p25641418.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to