这个方法是JDK1.4才有的,而你用的服务器的JDK应该不是1.4的吧,所以才会有这个问题
解决方案 »
- 共用一个jsp页面
- 1人30天44587行代码,分享舍得网开发经验(修改版)
- 有关级联菜单的问题
- 把web.mxl 放在 %TOMCAT_HOME%/wabapps/ROOT/mywebsize/WEB-INF 下,把连接池文件DBConnection.class放在 %TOMCAT_HOME%/wabapps/ROOT/myw
- 急求"用户登录后长时间无操作,自动注销"的实现方法和代码
- 紧急求助!紧急求助!紧急求助!紧急求助!参与者都得分。
- URL传中文,后台接受显示都是问号 ?(用过URL重写,也就是伪静态)
- 很简单html问题
- 请问使用javabean执行sql之后如何抓住catch ?
- 小问题--求救:翻页的问题--共x页?第y页?
- 如何设置下载功能??
- web-inf里面的文件怎么写哦。
java.lang.String.split(java.lang.String)split
public String[] split(String regex)
Splits this string around matches of the given regular expression.
This method works as if by invoking the two-argument split method with the given expression and a limit argument of zero. Trailing empty strings are therefore not included in the resulting array. The string "boo:and:foo", for example, yields the following results with these expressions: Regex Result
: { "boo", "and", "foo" }
o { "b", "", ":and:f" }
Parameters:
regex - the delimiting regular expression
Returns:
the array of strings computed by splitting this string around matches of the given regular expression
Throws:
PatternSyntaxException - if the regular expression's syntax is invalid
NullPointerException - if regex is null
Since:
1.4
See Also:
Pattern