Fix to some IE6 related issues with portlet template refactoring, improved exception handing in WebScriptServlet

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5686 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2007-05-15 16:36:58 +00:00
parent 1d1cd9ecfd
commit 97f4272546
6 changed files with 130 additions and 41 deletions

View File

@@ -91,15 +91,8 @@ public class WebScriptServlet extends HttpServlet
if (logger.isDebugEnabled())
logger.debug("Processing request (" + req.getMethod() + ") " + req.getRequestURL() + (req.getQueryString() != null ? "?" + req.getQueryString() : ""));
try
{
WebScriptRuntime runtime = new WebScriptServletRuntime(registry, transactionService, authenticator, req, res);
runtime.executeScript();
}
catch(Throwable e)
{
res.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
}
WebScriptRuntime runtime = new WebScriptServletRuntime(registry, transactionService, authenticator, req, res);
runtime.executeScript();
}
}