struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Al Sutton" <al.sut...@alsutton.com>
Subject RE: what is going on? struts 2
Date Mon, 24 Dec 2007 10:21:36 GMT
Thats normal. redirect-action throws those warnings when you set parameters
in your objects via it.

Al. 

-----Original Message-----
From: Ray [mailto:clraychen@gmail.com] 
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 <clraychen@gmail.com> 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: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>     
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:clraychen@gmail.com
Blog: http://clraychen.blogcn.com


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


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


Mime
View raw message