Not anything that I am aware of.

--- On Fri, 6/5/09, Mitchell, Steven <steven.mitch...@umb.com> wrote:

> From: Mitchell, Steven <steven.mitch...@umb.com>
> Subject: RE: (PROBLEM SOLVED) WAS 6.1: There is no Action mapped for 
> namespace / and action name j_security_check
> To: "Struts Users Mailing List" <user@struts.apache.org>
> Received: Friday, June 5, 2009, 1:54 PM
> Changing my mapping to
> <url-pattern>*.action</url-pattern> broke my
> submit buttons. I had to add ".action" to my form action
> parameter
> (action="myAction.action"). Is there some other setting to
> accomplish
> the same thing?
> 
> -----Original Message-----
> From: Struts Two [mailto:struts...@yahoo.ca]
> 
> Sent: Thursday, June 04, 2009 7:15 PM
> To: Struts Users Mailing List
> Subject: Re: (PROBLEM SOLVED) WAS 6.1: There is no Action
> mapped for
> namespace / and action name j_security_check
> 
> 
> 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-stru
> ts-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
> 
> 
> ------------------------------------------------------------------------------
> NOTICE:  This electronic mail message and any attached
> files are confidential.  The information is exclusively
> for the use of the individual or entity intended as the
> recipient.  If you are not the intended recipient, any
> use, copying, printing, reviewing, retention, disclosure,
> distribution or forwarding of the message or any attached
> file is not authorized and is strictly prohibited.  If
> you have received this electronic mail message in error,
> please advise the sender by reply electronic mail
> immediately and permanently delete the original
> transmission, any attachments and any copies of this message
> from your computer system. Thank you.
> 
> ==============================================================================
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 


      __________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/

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

Reply via email to