ResourceBundle是哪个包里的类?方法getBundle("localStrings")什么作用呀?LocalStrings又是个什么东东呀,还请各位给说说~~~书上没有讲呀~~
解决方案 »
- jsp中通过js去掉空格
- 左键弹出菜单
- 一个有趣的struts问题!!!
- 请帮我看下这段代码
- 谁能教我写一个单点登陆系统(jsp+servlet+bean),解决此问题者,送800分!决不失言!
- 小弟刚学STRUTS,可是环境从昨天晚上到现在还没配好那为大虾帮帮小弟感恩不尽啊
- 在web.xml里配置自定义错误页不能显示问题,,各位朋友帮忙啊!!
- 用javamail发邮件,但是为什么会出错呢?有谁能不能把你们写邮件的代码贴出来呢?还有就是邮件群发的问题,不知道该怎么办
- 怎么把这个项目导入到eclipse中间
- 使用文件通道的方式复制文件
- apache-tomcat模式下连接池的问题?
- 求救啊!!关于JSP连接数据库的问题
找一个jdk的帮助一下就可以找到啊
ResourceBundle是java资源引用类,可以把你要使用的一些常量保存在一个文件中,在使用的时候来引用。
Resource bundles contain locale-specific objects. When your program needs a locale-specific resource, a String for example, your program can load it from the resource bundle that is appropriate for the current user's locale. In this way, you can write program code that is largely independent of the user's locale isolating most, if not all, of the locale-specific information in resource bundles