Foren
Servlet in Ext Plugin
Mª Luz Mateo, geändert vor 13 Jahren.
Servlet in Ext Plugin
Junior Member Beiträge: 36 Beitrittsdatum: 22.09.10 Neueste Beiträge
Hi all!
I need to get a servlet working inside ext plugin. I'm working with LR 6.0.5, I created a portlet with the servlet and all works fine. But now, they don't want a portlet any more. They asked me to put the servlet into an ext-plugin and I can't get it working.
I created the servlet class in
The content of my-ext-plugin/docroot/WEB-INF/ext-web/docroot/WEB-INF/web.xml is:
It is deployed without any problem, but when I try to make a request at http://localhost:8080/myServlet all that I get is:
Any ideas??
Thanks in advance!
I need to get a servlet working inside ext plugin. I'm working with LR 6.0.5, I created a portlet with the servlet and all works fine. But now, they don't want a portlet any more. They asked me to put the servlet into an ext-plugin and I can't get it working.
I created the servlet class in
my-ext-plugin/docroot/WEB-INF/ext-impl/src/mypkg/myServlet
The content of my-ext-plugin/docroot/WEB-INF/ext-web/docroot/WEB-INF/web.xml is:
<servlet>
<description></description>
<display-name> myServlet </display-name>
<servlet-name> myServlet </servlet-name>
<servlet-class> mypkg.myServlet </servlet-class>
</servlet>
<servlet-mapping>
<servlet-name> myServlet </servlet-name>
<url-pattern> /myServlet </url-pattern>
</servlet-mapping>
It is deployed without any problem, but when I try to make a request at http://localhost:8080/myServlet all that I get is:
[PortalImpl] Current URL /myServlet generates exception: null
Any ideas??
Thanks in advance!
Eduard Saldaña, geändert vor 12 Jahren.
RE: Servlet in Ext Plugin
New Member Beiträge: 19 Beitrittsdatum: 09.03.11 Neueste Beiträge
Dear Mª Luz,
Did you find the solution?
Thank you
Did you find the solution?
Thank you
Thiago Leão Moreira, geändert vor 11 Jahren.
RE: Servlet in Ext Plugin
Liferay Legend Beiträge: 1449 Beitrittsdatum: 10.10.07 Neueste Beiträge
Hey all, I'm facing the same issue