On Fri, Dec 5, 2008 at 3:50 PM, Phillips, Bruce A <[EMAIL PROTECTED]> wrote: > We have been using the Pluto 1.1.6 Portlet container > (http://portals.apache.org/pluto/) to test our JSR-168 portlets. Our > team needs help learning the correct way to setup a Struts 2 portlet to > run within the Pluto 1.1.6 portlet container. We've studied the Struts > 2 example portlet tutorial > (http://struts.apache.org/2.0.11.1/docs/struts-2-portlet-tutorial.html ) > in the Struts 2 documentation. However, that portlet is deployed using > maven, jetty, and Pluto; which unfortunately is not our development > environment. >
It's a very efficient development environment. You should try it out. > > <portlet id="StrutsExamplePortlet"> > > <description xml:lang="EN">Simple hello world portlet using > Struts 2</description> > > <portlet-name>StrutsExamplePortlet</portlet-name> > <snip> > > </init-param> > > <init-param> > > <param-name>portlet-guid</param-name> > > <param-value> > > StrutsExample.StrutsExamplePortlet > > </param-value> > > </init-param> > <snip> > <portlet context="/StrutsExample" name="StrutsExample"/> > >From what I can understand, your portlet name is StrutsExamplePortlet, not StrutsExample (which is your context). So try this: <portlet context="/StrutsExample" name="StrutsExamplePortlet"/> I'm using pluto for all my portlet development and have never had any issues with Struts 2 support. Nils-H --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]