Yes Lukasz, but it seems there is a problem in this specific version of Liferay, as explained here:
http://www.liferay.com/es/community/forums/-/message_boards/message/15705348 In this release of Liferay, Portlets are initialized BEFORE servlet listeners are executed. So, if using Struts Jsr286Dispatcher, the StrutsSpringObjectFactory can't find a suitable WebApplicationContext (that should have been initialized in the servlet context listener). In here, http://issues.liferay.com/browse/LPS-29103 , it is stated that it is solved in a patch to the still not released Liferay 6.2.X, although if you look at the comments, it still fails in something... Juan José Fuentes Esteban Grupo I.C.A. Informática y Comunicaciones Avanzadas S.L. Complejo Empresarial Ecourban - Edificio Azul C/Almogàvers 119 - 123, Planta 3 Oficina 4 08018 Barcelona Telf: 93.452.02.65 - Fax: 93.451.35.42 http://www.grupoica.com -----Mensaje original----- De: Łukasz Lenart [mailto:lukasz.len...@gmail.com] Enviado el: jueves, 25 de octubre de 2012 7:48 Para: Struts Users Mailing List Asunto: Re: Struts 2 portlet - spring example- Liferay 6.1 GA 2 2012/10/24 Juan Jose Fuentes Esteban <juanjose.fuen...@grupoica.com>: > Has someone tried the last struts2 portlet example with Liferay 6.1 GA 2? > Object factory problems appear. It seems struts 2 tries to access the > webApplicationContext of Spring before it is initialized. Could you provide more details ? Regards -- Łukasz mobile +48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org