Topic: Jute开发进度 |
Print this page |
1.Jute开发进度 | Copy to clipboard |
Posted by: rainman Posted on: 2002-08-18 13:33 已经完成的功能有:类别,板块管理,基本的首页显示等,目前正在开发文章发表,跟随等功能,预计下星期可以完成用户配置,全文搜索功能。 |
2.回复: Jute开发进度 [Re: rainman] | Copy to clipboard |
Posted by: scottlai Posted on: 2002-08-18 21:50 package test; import java.io.*; import java.net.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; public class ConfResourceBundle extends HttpServlet { public static URLClassLoader confClassLoader = null; public void init() throws ServletException { try { URL confURL[] = { new File(getServletContext().getRealPath("/WEB-INF/conf")).toURL(), }; confClassLoader = URLClassLoader.newInstance(confURL, this.getClass().getClassLoader()); // test ResourceBundle b = getBundle("test.client"); System.out.println(b.getString("NewMessage.Title")); } catch(Exception e) { e.printStackTrace(); } } public static final ResourceBundle getBundle(String baseName) throws MissingResourceException { return getBundle(baseName, Locale.getDefault()); } public static final ResourceBundle getBundle(String baseName, Locale locale) { return getBundle(baseName, locale, confClassLoader); } public static ResourceBundle getBundle(String baseName, Locale locale, ClassLoader loader) throws MissingResourceException { return ResourceBundle.getBundle(baseName, locale, loader); } } |
3.回复: 回复: Jute开发进度 [Re: scottlai] | Copy to clipboard |
Posted by: rainman Posted on: 2002-08-19 05:08 cool! scottlai wrote: |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |