did you follow:
Budiling a portlet WAR, step by step. Run ant from the webapp project directory cd to webapps directory To build a portlet webapp, run: ant build-portlet Use the container system property to target a specific container, e.g. '-Dcontainer=exo'. Several containers are supported. Example command: ant build-portlet \-Dcontainer=jboss-portal-2.2 Check the etc/yourcontainer directory for a README file. If available, check for further instructions. Deploy the WAR to your portal server Is the portlet you are building JSR168 compliant? Martin > Date: Wed, 19 Feb 2014 17:41:47 -0800 > Subject: Struts2 Portlet with Servlets > From: togauravd...@gmail.com > To: dev@struts.apache.org > > Hello Struts2 Group, > > I have a requirement where I want to have Servlet Action Endpoint, as well > as Portlet Actions in the same WAR file. I tried configuring the > struts.xml, for the both package but Struts continued to give me error > while resolving Servlet Action Endpoint. > > I just wanted to know if anyone has tries anything similar to this before > and whether it is supported or not. If you can throw me some pointers, > would be great help! > > > Thanks. > Gaurav Daga