Hi, I've got a struts servlet that I need to make it worging as a portlet with jahia (wich use jetspeed-2.1 as portal layer).
Everything is working well. But I still have a bug when submitting a form. My Jsp Code:- <html:form action="/supplierDetailsAction.do" method="post"> <html:submit property="method" value="init" > <bean:message key=" button.finish"/></html:submit> </html:form> Here is a part of struts-config.xml: ... <action path="/index" forward="/jsp/index.jsp"/> <action path="/supplierDetails" forward="/jsp/supplierDetails.jsp"/> <action path="/supplierDetailsAction" name="supplierDetailsForm" type="com.bupa.app.selling2bupa.applite.action.SupplierDetailsAction" scope="session" validate="false" parameter="method"> <forward name="success" path="/supplierDetails.do" redirect="true" /> Have Also Tried <forward name="success" path="/jsp/supplierDetails.jsp" /> <forward name="failure" path="/supplierDetails.do" redirect="true" /> <forward name="termsandcondition" path="/termsConditionAction.do?method=init" redirect="true"/> </action> ... struts-portlet-config.xml : <config> <render-context> <attribute name="errors"/> <attribute name="message"/> <attribute name="method"/> </render-context> <portlet-url-type> <action path="/supplierDetailsAction"/> <action path="/termsConditionAction"/> <action path="/supplierCategoryAction"/> <action path="/index"/> <action path="/supplierDetails"/> <action path="/termsCondition"/> <action path="/areaofinterest"/> <action path="/confirm"/> <action path="/sessionExpired"/> </config> Log part: ... [org.apache.portals.bridges.struts.StrutsPortlet] (http-0.0.0.0-8080-17:) process path: /index.do, requestType: VIEW 2007-06-22 09:54:50,200 862717 DEBUG [org.apache.struts.action.RequestProcessor] (http-0.0.0.0-8080-17:) Processing a 'GET' for path '/index' 2007-06-22 09:54:50,200 862717 DEBUG [org.apache.struts.action.RequestProcessor] (http-0.0.0.0-8080-17:) Setting user locale 'en' 2007-06-22 09:54:50,201 862718 DEBUG [org.apache.struts.action.RequestProcessor] (http-0.0.0.0-8080-17:) Delegating via forward to '/jsp/index.jsp' 2007-06-22 09:54:50,201 862718 DEBUG [org.apache.portals.bridges.struts.PortletServletRequestDispatcher] (http-0.0.0.0-8080-17:) invoking dispatch to :/jsp/index.jsp, from VIEW /index.do... Someone has an idea? Thanks. Regards, KT
