> Jetspeed2 suports Struts + Tiles based apps? > > I'm trying to use, but I've got this error: > > 21/06/2005 12:32:03 org.apache.portals.bridges.struts.StrutsPortlet > processRequest > WARNING: Warning: Using the original action URL for render URL: > /searchGeneric.do?oid=people&localDn=&customerRdn=o%3DIntelinet. > A redirect should have been issued. > 21/06/2005 12:32:03 org.apache.portals.bridges.struts.StrutsPortlet > processRequest
You need to build your Struts application in a MVC proper manner. In portlets you have "Action" request (changing inner state of app; i.e. removing a user or changing his attributes) and "Render" requests (displaying the current state of the app; i.e. showing the list of user after removing one). Struts is based on Servlets, but since you are in a Portlet environment you need to reflect (a bit) the workflows defined in the Portlet spec. Struts actions that are rendered using the <link ...> tag of the Struts-Portlet TLD with the attribute "actionURL='true'" shall not do immediately forward to a JSP. Same, when you POST a form (and use the "form" tag of this TLD). Both make your request being an "Action" request and are supposed to change the inner state of the App. You should have another Struts Action your forward to from your "Action"-like struts action. This one is the "Render"-like action. Finally, you should have the attribute "redirect='true'" included in your forward to the finally called "Render"-like action. When you develop Struts applications in Jetspeed2 you *really* should read http://portals.apache.org/jetspeed-2/multiproject/portals-bridges-struts/fea tures.html Saves you a lot of headaches (and gives you a lot in the first place, but this cannot be avoided, anyway ;-)) > SEVERE: Include exception > org.apache.jasper.JasperException > at > org.apache.jasper.servlet.JspServletWrapper.service > (JspServletWrapper.java:372) Don't know where this comes from. But maybe if you fix the problem above, this one will disappear too. Sven. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
