If I do the same I am getting the following warning . I think it searching
for the property in redirection class instead of action class. Kindly tell
me what is the solution for this. 

12:35:31,491 WARN  [OgnlUtil] Caught OgnlException while setting property
'searchText' on type
'org.apache.struts2.dispatcher.ServletActionRedirectResult'.
ognl.NoSuchPropertyException:
org.apache.struts2.dispatcher.ServletActionRedirectResult.searchText

Warm regards,
Muralidhar Y
[EMAIL PROTECTED]
 
US Main: 877 KENSIUM (536.7486)
India Main:  +91 9949495511
India Fax:   +91 9949495522
Kensium
200 S Wacker Dr, Suite 3100
Chicago, IL 60606
 
 
Confidentiality Note:
-----------------------------
The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.
 
________________________________

 

-----Original Message-----
From: ManiKanta G [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 20, 2008 12:18 PM
To: Struts Users Mailing List
Subject: Re: is this right?

Hi,

Yeah, it is correct. And as of Struts2.1.x all the hyphenated names are 
converted to camelCase words... Better use redirectAction instead 
redirect-action.

Regards,
ManiKanta G




Muralidhar Y wrote:
> Hi Friends, I want to redirect to an action and at the same time I want to
> set one of the property of the class which is mapped with
> executePoPSearch.action how to do it? The following code is not working
> fine? It is trying to set the property in redirect action class. Thanks in
> advance.
>
>  
>
> <result name="error" type="redirect-action">
>
>    <param name="actionName">executePoPSearch.action</param>
>
>    <param name="searchText">${searchText} </param>-->
>
>                         
>
> </result>
>
> Warm regards,
>
> Muralidhar Y
>
> [EMAIL PROTECTED]
>
>  
>
> US Main: 877 KENSIUM (536.7486)
> India Main:  +91 9949495511
>
> India Fax:   +91 9949495522
>
> Kensium
>
> 200 S Wacker Dr, Suite 3100
>
> Chicago, IL 60606
>
>  
>
>  
>
> Confidentiality Note:
> -----------------------------
> The information contained in this e-mail is strictly confidential and for
> the intended use of the addressee only. Any disclosure, use or copying of
> the information by anyone other than the intended recipient is prohibited.
> If you have received this message in error, please notify the sender
> immediately by return e-mail and securely discard this message.
>
>  
>
>   _____  
>
>  
>
>
>   



********** DISCLAIMER **********
Information contained and transmitted by this E-MAIL is proprietary to 
Sify Limited and is intended for use only by the individual or entity to 
which it is addressed, and may contain information that is privileged, 
confidential or exempt from disclosure under applicable law. If this is a 
forwarded message, the content of this E-MAIL may not have been sent with 
the authority of the Company. If you are not the intended recipient, an 
agent of the intended recipient or a  person responsible for delivering the 
information to the named recipient,  you are notified that any use, 
distribution, transmission, printing, copying or dissemination of this 
information in any way or in any manner is strictly prohibited. If you have 
received this communication in error, please delete this mail & notify us 
immediately at [EMAIL PROTECTED]

---------------------------------------------------------------------
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]

Reply via email to