Re: Struts 2.3.31 is excluding generic object.

2017-02-14 Thread Lukasz Lenart
2017-02-02 11:28 GMT+01:00 Anurag kumar :
> I have created generic Action variable i.e. T model , which I am using in 
> struts.xml to resolve my dynamic results.

I don't really get it, can you post an example?


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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



Re: Struts 2.3.31 is excluding generic object.

2017-02-02 Thread Anurag kumar


On 2017-02-02 01:00 (+0530), Lukasz Lenart  wrote: 
> 2017-01-31 16:32 GMT+01:00 Anurag kumar :
> > Hi,
> >
> > My Action class  returns generic object and It was working fine with struts 
> > 2.3.16 but after upgrading with struts 2.3.31. It is excluding generic 
> > object.
> > I found  constant in 
> > struts-default.xml while searching. Here java.lang.Object is excluded. My 
> > concern is if I am overriding this constant in my struts.xml file after 
> > removing java.lang.Object .Will it have a huge impact on security?
> 
> What do you mean by "returns a generic object"?
> 
> 
> Regards
> -- 
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
> 
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 



I have created generic Action variable i.e. T model , which I am using in 
struts.xml to resolve my dynamic results.

Thanks,
Anurag



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



Re: Struts 2.3.31 is excluding generic object.

2017-02-01 Thread Lukasz Lenart
2017-01-31 16:32 GMT+01:00 Anurag kumar :
> Hi,
>
> My Action class  returns generic object and It was working fine with struts 
> 2.3.16 but after upgrading with struts 2.3.31. It is excluding generic object.
> I found  constant in 
> struts-default.xml while searching. Here java.lang.Object is excluded. My 
> concern is if I am overriding this constant in my struts.xml file after 
> removing java.lang.Object .Will it have a huge impact on security?

What do you mean by "returns a generic object"?


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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