public class My302ForwardAction implements ForwardAction (or extends I forget if its an abstract class of interface){ // ... public void execute(RequestContext context) {// use HTTPServletResponse via context.getResponse()// Set the status to 301 and "Location:" to whatever you want// The fact you are here means that controller returned this object // and execute will be called and then response will be written }}
... public ForwardAction my301controllermethod(RequestContext context) { // do some stuff here if ( some condition) { return new My302ForwardAction( some url ); } return null; // null means do not redirect }...
doe Jhon com.livesite.action.product.ProductAction renderProductPage
18:46:42,612 ERROR [RuntimeRenderingManager] render: handleException(RuntimeException)18:46:42,706 ERROR [RuntimeRenderingManager] Unhandled exception thrown during renderingcom.interwoven.livesite.runtime.rendering.RenderingException: Unhandled Exception at com.interwoven.livesite.runtime.rendering.RenderingManager.handleException(RenderingManager.java:960) at com.interwoven.livesite.runtime.rendering.RenderingManager.render(RenderingManager.java:240) at com.interwoven.livesite.runtime.impl.BaseRequestContext.render(BaseRequestContext.java:201) at com.interwoven.livesite.runtime.filter.LiveSiteFilter.doFilter(LiveSiteFilter.java:111) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:183) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:548) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:595)Caused by: java.lang.RuntimeException: No such method: public com.interwoven.livesite.common.web.ForwardAction modifyPageTitle(com.interwoven.livesite.runtime.RequestContext,) found on object of type: com.peerson.livesite.action.test.TestAction at com.interwoven.livesite.common.pojo.PojoMethodCall.executeMethod(PojoMethodCall.java:399) at com.interwoven.livesite.runtime.controller.RuntimeController.execute(RuntimeController.java:154) at com.interwoven.livesite.runtime.controller.RuntimeControllerExecutor.executePagePreControllers(RuntimeControllerExecutor.java:206) at com.interwoven.livesite.runtime.rendering.RenderingManager.doSetupRenderingObjects(RenderingManager.java:533) at com.interwoven.livesite.runtime.rendering.RenderingManager.renderPageGoal(RenderingManager.java:295) at com.interwoven.livesite.runtime.rendering.RenderingManager.render(RenderingManager.java:224) ... 19 more