I have this working now. There were a few key things that needed to be debugged before it would work.
Here is a summary: I was new to struts so I used this as a starting point for struts generically: http://benmira.free.fr/en/j2ee/struts1.htm Then here - this was very very helpful. http://www.ja-sig.org/wiki/display/PLT/Struts+Bridge The bridges project is here: http://portals.apache.org/bridges/multiproject/portals-bridges-struts/features.html Found an error in WSRP4J - which I posted to the WSRP4j dev group. Essentially org.apache.wsrp4j.producer.provider.pluto.driver.WSRPServletRequestWrapperImpl.getParameter was not ensuring a return of a single String. Found that I had to add this to the portlet.xml for each portlet in addition to the very very helpful notes as noted above: <init-param> <name>StrutsPortletConfigLocation</name> <value>/WEB-INF/struts-portlet-config.xml</value> </init-param> This may have been due to our running this on Websphere 6, not sure. The leading "/" was necessary for the Digester to find the config file. Also, in struts-portlet-config.xml I had to include any bean that I wanted passed from a struts Action. The reason being that the portlet api has a separate request/response model than tradition servlet model and the attributes must be passed via the session. So I added the "examples.hello" below: <config> <render-context> <attribute name="errors"/> <attribute name="message"/> <attribute name="examples.hello"/> <attribute name="test"/> </render-context> <portlet-url-type> <action path="/hello"/> </portlet-url-type> </config> I'm not sure if this is absolutely everything, but at least it is all the "big" stuff. --- Pete <[EMAIL PROTECTED]> wrote: > Anyone try to use struts with wsrp4j / pluto? > > Here is an interesting article which I appears to > indicate support is possible. > http://www.ja-sig.org/wiki/display/PLT/Struts+Bridge > > > > __________________________________________ > Yahoo! DSL � Something to write home about. > Just $16.99/mo. or less. > dsl.yahoo.com > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
