Fórum

Calling Servlet in Liferay 6.1 EE

thumbnail
Emilio José Lamas Fraga, modificado 12 Anos atrás.

Calling Servlet in Liferay 6.1 EE

Junior Member Postagens: 57 Data de Entrada: 29/11/11 Postagens Recentes
Hi Community!

I have developed a custom portlet who calls a servlet (generar-fichero) through PortalDelegateServlet. It works fine in 6.1 CE, but when I execute it in 6.1 EE I get an error:


javax.servlet.ServletException: No servlet registred for context generar-fichero
 com.liferay.portal.kernel.servlet.PortalDelegatorServlet.service(PortalDelegatorServlet.java:79)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:722)


I execute the servlet like this: http://<HOST>:<PORT>/delegate/generar-fichero


So, it looks like it cannot find the servlet. Maybe there is another way of using PortalDelegateServlet in EE? I attach my web.xml file

Thanks!

Regards.
Remis Baima, modificado 10 Anos atrás.

RE: Calling Servlet in Liferay 6.1 EE

New Member Postagens: 8 Data de Entrada: 05/11/10 Postagens Recentes
Hi,
Did you find a solution? I have the same problem with 6.0 EE.
Thanks.