Mercurial Hosting > luan
comparison src/luan/tools/WebServlet.java @ 135:3119326260ea
revert rev 125 and only preload Java
git-svn-id: https://luan-java.googlecode.com/svn/trunk@136 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Wed, 11 Jun 2014 06:30:46 +0000 |
parents | 0149bdf98fd8 |
children |
comparison
equal
deleted
inserted
replaced
134:b585d0915621 | 135:3119326260ea |
---|---|
26 | 26 |
27 protected LuanState luanState = null; | 27 protected LuanState luanState = null; |
28 | 28 |
29 protected LuanState newLuanState() throws LuanException { | 29 protected LuanState newLuanState() throws LuanException { |
30 LuanState luan = LuanCompiler.newLuanState(); | 30 LuanState luan = LuanCompiler.newLuanState(); |
31 BasicLib.load(luan); | 31 luan.load(BasicLib.NAME,BasicLib.LOADER); |
32 PackageLib.load(luan); | 32 luan.load(PackageLib.NAME,PackageLib.LOADER); |
33 MathLib.load(luan); | 33 luan.load(MathLib.NAME,MathLib.LOADER); |
34 StringLib.load(luan); | 34 luan.load(StringLib.NAME,StringLib.LOADER); |
35 TableLib.load(luan); | 35 luan.load(TableLib.NAME,TableLib.LOADER); |
36 HtmlLib.load(luan); | 36 luan.load(HtmlLib.NAME,HtmlLib.LOADER); |
37 return luan; | 37 return luan; |
38 } | 38 } |
39 | 39 |
40 @Override protected void service(HttpServletRequest request,HttpServletResponse response) | 40 @Override protected void service(HttpServletRequest request,HttpServletResponse response) |
41 throws ServletException, IOException | 41 throws ServletException, IOException |