lunes, 12 de noviembre de 2007

ServletContext null in Action method: init()

En la inicialización de un action a través de algún método (eg init()) no está disponible el ServletContext a partir de ServletActionContext.getServletContext(); (devuelve null). En cambio en los métodos a llamar por struts si se asigna.

2 comentarios:

Anónimo dijo...

Hello. This post is likeable, and your blog is very interesting, congratulations :-). I will add in my blogroll =). If possible gives a last there on my blog, it is about the TV de LCD, I hope you enjoy. The address is http://tv-lcd.blogspot.com. A hug.

Judit dijo...

Felicidades por el blog! Me has salvado la vida en un par d ocasiones en las que a Google le ha costado darme respuesta.