Index: lams_central/src/java/org/lamsfoundation/lams/authoring/web/AuthoringAction.java =================================================================== diff -u -r8d104d395bbb6b03bb9515e606176d76f585439b -ra3575b0a7c6e3be575c7c4d240eeeb4bee72a0fc --- lams_central/src/java/org/lamsfoundation/lams/authoring/web/AuthoringAction.java (.../AuthoringAction.java) (revision 8d104d395bbb6b03bb9515e606176d76f585439b) +++ lams_central/src/java/org/lamsfoundation/lams/authoring/web/AuthoringAction.java (.../AuthoringAction.java) (revision a3575b0a7c6e3be575c7c4d240eeeb4bee72a0fc) @@ -52,19 +52,12 @@ * path = "/authoring/author" * parameter = "method" * validate = "false" - * @struts.action-forward name = "success" path = "/index.jsp" * */ public class AuthoringAction extends LamsDispatchAction{ private static Logger log = Logger.getLogger(AuthoringAction.class); - /** If you want the output given as a jsp, set the request parameter "jspoutput" to - * some value other than an empty string (e.g. 1, true, 0, false, blah). - * If you want it returned as a stream (ie for Flash), do not define this parameter - */ - public static String USE_JSP_OUTPUT = "jspoutput"; - private static IAuditService auditService; public IAuthoringService getAuthoringService(){ @@ -86,15 +79,9 @@ */ private ActionForward outputPacket(ActionMapping mapping, HttpServletRequest request, HttpServletResponse response, String wddxPacket, String parameterName) throws IOException { - String useJSP = WebUtil.readStrParam(request, USE_JSP_OUTPUT, true); - if ( useJSP != null && useJSP.length() >= 0 ) { - request.getSession().setAttribute(parameterName,wddxPacket); - return mapping.findForward("success"); - } else { - PrintWriter writer = response.getWriter(); - writer.println(wddxPacket); - return null; - } + PrintWriter writer = response.getWriter(); + writer.println(wddxPacket); + return null; } public ActionForward getLearningDesignDetails(ActionMapping mapping,