|
|
@@ -87,16 +87,4 @@ public class FreemarkerServlet extends HttpServlet {
|
|
|
}
|
|
|
writer.flush();
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- public static void main(String[] args) throws IOException, TemplateException {
|
|
|
- FreemarkerServlet servlet = new FreemarkerServlet("upload_file.ftl");
|
|
|
- System.out.println(servlet.getViewString(new HashMap<>()));
|
|
|
-
|
|
|
- servlet = new FreemarkerServlet("upload_file.ftl");
|
|
|
- System.out.println(servlet.getViewString(new HashMap<>()));
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
}
|