Re: use servletcontext in typeconvert

2010-04-28 Thread yunaki

Thanks all you answer. I am new in spring and I found the class that
implements ApplicationContextAware,But I want to get attributes from Object
Stack or the Context Map(session or applcation). Sorry question did not make
sense.

yunaki wrote:
> 
> in the convertFromString method, I hope to use servletcontext to get a
> applcation context property. Is it possible?thx
> 

-- 
View this message in context: 
http://old.nabble.com/use-servletcontext-in-typeconvert-tp28382360p28387037.html
Sent from the Struts - User mailing list archive at Nabble.com.


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



Re: use servletcontext in typeconvert

2010-04-27 Thread Juan Chung

just try it, then you know the answer. I think it will works.

good Luck.

in the convertFromString method, I hope to use servletcontext to get a
applcation context property. Is it possible?thx
   



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



Re: use servletcontext in typeconvert

2010-04-27 Thread Wes Wannemacher
Try to make your type converter implement the ApplicationContextAware
interface.

-Wes

On Tue, Apr 27, 2010 at 5:33 PM, yunaki  wrote:
>
> in the convertFromString method, I hope to use servletcontext to get a
> applcation context property. Is it possible?thx
> --
> View this message in context: 
> http://old.nabble.com/use-servletcontext-in-typeconvert-tp28382360p28382360.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>



-- 
Wes Wannemacher

Head Engineer, WanTii, Inc.
Need Training? Struts, Spring, Maven, Tomcat...
Ask me for a quote!

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



use servletcontext in typeconvert

2010-04-27 Thread yunaki

in the convertFromString method, I hope to use servletcontext to get a
applcation context property. Is it possible?thx
-- 
View this message in context: 
http://old.nabble.com/use-servletcontext-in-typeconvert-tp28382360p28382360.html
Sent from the Struts - User mailing list archive at Nabble.com.


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