From: Julien V. <coo...@us...> - 2003-03-24 13:01:40
|
User: cooperfbi Date: 03/03/24 05:01:39 Modified: nukes/src/main/org/jboss/nukes/core/modules/html HtmlModule.java Log: o updated to 3.2.0RC4 Revision Changes Path 1.16 +10 -9 nukes/nukes/src/main/org/jboss/nukes/core/modules/html/HtmlModule.java Index: HtmlModule.java =================================================================== RCS file: /cvsroot/jboss/nukes/nukes/src/main/org/jboss/nukes/core/modules/html/HtmlModule.java,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- HtmlModule.java 23 Mar 2003 23:01:08 -0000 1.15 +++ HtmlModule.java 24 Mar 2003 13:01:39 -0000 1.16 @@ -44,7 +44,7 @@ * * * @author <a href="mailto:jul...@ya...">Julien Viet</a> - * @version $Revision: 1.15 $ + * @version $Revision: 1.16 $ */ public class HtmlModule extends Module @@ -942,14 +942,15 @@ } if (contentType.startsWith("text/")) { - try - { - HtmlHelper.displayScript(page, log, new String(file.getContent())); - } - catch (EvalError e) - { - log.error("Cannot evaluate html", e); - } +// try +// { +// HtmlHelper.displayScript(page, log, new String(file.getContent())); +// } +// catch (EvalError e) +// { +// log.error("Cannot evaluate html", e); +// } + page.print(file.getContentAsString()); } else if (contentType.startsWith("image/")) { |