Some additional information: I'm using JBoss Portal 2.0 embedded in JBoss AS 4.0.2.
I created just one Action file called HelloAction: package eco.pep.web.actions; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.Action; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; public class HelloAction extends Action { public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { System.out.println("HelloAction"); return mapping.findForward("success"); } } Here is the jboss-app.xml (hellostruts.war): <jboss-app> <app-name>hellostruts</app-name> </jboss-app> Here is the portlet.xml file: <?xml version="1.0" encoding="UTF-8"?> <portlet-app version="1.0"> <init-param> ServletContextProvider org.jboss.portal.bridge.JBossServletContextProvider </init-param> <init-param> ViewPage /hello </init-param> <init-param> HelpPage /hello </init-param> <portlet-name>StrutsHelloPortlet</portlet-name> <display-name>Struts Hello Portlet</display-name> This is the Hello World Struts Portlet <portlet-class>org.apache.portals.bridges.struts.StrutsPortlet</portlet-class> <expiration-cache>-1</expiration-cache> <mime-type>text/html</mime-type> <portlet-mode>VIEW</portlet-mode> <portlet-mode>HELP</portlet-mode> <portlet-info> Struts Hello Portlet <short-title>This is the short title</short-title> Struts </portlet-info> </portlet-app> Here is the jboss-portlet.xml file: <portlet-app> <portlet-name>StrutsHelloPortlet</portlet-name> <!-- Use the specific struts container configuration --> </portlet-app> jboss-service.xml jboss-web.xml: <?xml version="1.0"?> <jboss-web> </jboss-web> portlet.xml: <?xml version="1.0" encoding="UTF-8"?> <portlet-app version="1.0"> <init-param> ServletContextProvider org.jboss.portal.bridge.JBossServletContextProvider </init-param> <init-param> ViewPage /hello </init-param> <init-param> HelpPage /hello </init-param> <portlet-name>StrutsHelloPortlet</portlet-name> <display-name>Struts Hello Portlet</display-name> This is the Hello World Struts Portlet <portlet-class>org.apache.portals.bridges.struts.StrutsPortlet</portlet-class> <expiration-cache>-1</expiration-cache> <mime-type>text/html</mime-type> <portlet-mode>VIEW</portlet-mode> <portlet-mode>HELP</portlet-mode> <portlet-info> Struts Hello Portlet <short-title>This is the short title</short-title> Struts </portlet-info> </portlet-app> portlet-instances.xml: <?xml version="1.0" standalone="yes"?> <instance-name>StrutsHelloPortletInstance</instance-name> <component-ref>StrutsHelloPortlet</component-ref> struts-config.xml: <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://struts.apache.org/dtds/struts-config_1_2.dtd"> <!-- Default configuration file for examples application. Each module also has its own struts-config under: /WEB-INF/$MODULE/ @version $Revision: 1.9 $ $Date: 2004-09-07 03:50:06 +0100 (Tue, 07 Sep 2004) $ --> <struts-config> <global-exceptions /> <global-forwards> </global-forwards> <action-mappings> </action-mappings> <plug-in className="org.apache.struts.plugins.ModuleConfigVerifier"/> </struts-config> web.xml: <?xml version="1.0"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <display-name>Prototipo Portlets</display-name> Display index and details pages in a Portlet <servlet-name>action</servlet-name> <servlet-class>org.apache.portals.bridges.struts.PortletServlet</servlet-class> <init-param> <param-name>config</param-name> <param-value>/WEB-INF/struts-config.xml</param-value> </init-param> <load-on-startup>2</load-on-startup> <servlet-mapping> <servlet-name>action</servlet-name> <url-pattern>*.do</url-pattern> </servlet-mapping> <!-- The Usual Welcome File List --> <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> <welcome-file>upload.jsp</welcome-file> </welcome-file-list> <!-- Struts Tag Library Descriptors --> <taglib-uri>/tags/struts-bean</taglib-uri> <taglib-location>/WEB-INF/struts-bean.tld</taglib-location> <taglib-uri>/tags/struts-html</taglib-uri> <taglib-location>/WEB-INF/struts-html.tld</taglib-location> <taglib-uri>/tags/struts-logic</taglib-uri> <taglib-location>/WEB-INF/struts-logic.tld</taglib-location> <taglib-uri>/tags/struts-nested</taglib-uri> <taglib-location>/WEB-INF/struts-nested.tld</taglib-location> </web-app> hello-pages.xml: <portal-name>default</portal-name> <page-name>StrutsHello</page-name> <window-name>StrutsHelloPortletWindow</window-name> <instance-ref>hellostruts.StrutsHelloPortlet.StrutsHelloPortletInstance</instance-ref> center 0 <window-name>InternacaoWindow3</window-name> <instance-ref>pep-internacao.Internacao.InternacaoInstance</instance-ref> true left 0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908801#3908801 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908801 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user