Thats normal. redirect-action throws those warnings when you set parameters
in your objects via it.

Al. 

-----Original Message-----
From: Ray [mailto:[EMAIL PROTECTED] 
Sent: 24 December 2007 08:49
To: Struts Users Mailing List
Subject: Re: what is going on? struts 2

Vinny Wrote:
> What exactly is the problem?
>
> On Dec 23, 2007 11:27 PM, Ray <[EMAIL PROTECTED]> wrote:
>
>   
>> my struts.xml
>> <interceptors>
>>         <interceptor name="LAI" class="
>> com.ClockWise.ray.Interceptor.LoginActionInterceptor"/>
>>  </interceptors>
>>
>>  <action name="LoginAction" class="
>> com.ClockWise.ray.userSession.LoginAction">
>>     <interceptor-ref name="LAI"/>
>>     <result type="redirect-action">
>>         <param name="actionName">WelcomeAction</param>
>>         <param name="username">${username}</param>
>>     </result>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>     
There si something wrong when I sent the mail.

Ok. Flowing is what jboss produce when I run my project.


  Caught OgnlException while setting property 'username' on type
'org.apche.struts2.dispathcer.ServletActionRedirectResult'.
ognl.NoSuchPropertyException:
org.apche.struts2.dispatcher.ServletActionRedirectResult.username at
ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:132)
...

Anyone can help?  Thank u.

--
Ray Chen
Email:[EMAIL PROTECTED]
Blog: http://clraychen.blogcn.com


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