struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Chan <rc...@i-tao.com>
Subject 2.1.6 convention plugin problem
Date Mon, 01 Jun 2009 10:53:11 GMT

in StrutsPrepareAndExecuteFilter in 2.1

doFilter contains
ActionMapping mapping = prepare.findActionMapping(request, response);
            if (mapping == null) {
                boolean handled =
execute.executeStaticResourceRequest(request, response);

however, when using with convention plugin, when accessing the base url 
e.g. http://server/myapp/

mapping is not null but contains an empty space for the action name

therefore it errors and never returns index.html or index.jsp or whatever is
in welcome file list

am I missing a setting somewhere?

Thanks
Ron


-- 
View this message in context: http://www.nabble.com/2.1.6-convention-plugin-problem-tp23813162p23813162.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message