Did you get a chance to contact IBM to apprise them of this solution? Félicitations sur ce travail le plus excellent
! Martin ______________________________________________ Note de déni et de confidentialité Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Thu, 4 Jun 2009 17:15:06 -0700 > From: struts...@yahoo.ca > Subject: Re: (PROBLEM SOLVED) WAS 6.1: There is no Action mapped for > namespace / and action name j_security_check > To: user@struts.apache.org > > > Finally, the problem with form based authentication got resovled. However; > here is a summary of what happens that we get the error: > > There is no Action mapped for namespace / and actionName j_security_check > > With form-based authentication, Websphere authenticates a user by using URI > <hostname>/<context-root>/j_security_check. > > Due to the fact that in struts 2.1 default action extension list > (struts.action.extension) has changed from just 'action' to 'action' plus " , > j_security_check is mistaken as an struts action. > > Line: > > config = configuration.getRuntimeConfiguration().getActionConfig(namespace, > actionName); > > in class com.opensymphony.xwork2.DefaultActionProxy located in method > prepare() returns null for actionName j_security_check" and consquently > "no mapping error" is displayed. > > Solution: > > as described in migration guide in the following link [which makes it clear > why everything in struts 2.0 works but not struts 2.1]: > > http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html > > Add the following to your struts.xml > > <constant name="struts.action.extension" value="action" /> > > and then in your web.xml, change: > > <filter-mapping> > <filter-name>struts2</filter-name> > <url-pattern>/*</url-pattern> > </filter-mapping> > > TO > > <filter-mapping> > <filter-name>struts2</filter-name> > <url-pattern>*.action</url-pattern> > </filter-mapping> > > The form based authentication works just like basic authentication. You still > need to have the following properties set: > > com.ibm.ws.webcontainer.assumefiltersuccessonsecurityerror = true > com.ibm.ws.webcontainer.invokefilterscompatibility = true > > > > > __________________________________________________________________ > Reclaim your name @ymail.com or @rocketmail.com. Get your new email address > now! Go to http://ca.promos.yahoo.com/jacko/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > _________________________________________________________________ Hotmail® has ever-growing storage! Don’t worry about storage limits. http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009