/**
*版权只属于未来客
*/
import java.util.regex.Pattern;
/**
* @since 2008-05-10
* @author 未来客
* @version 1.0
*/
public class StrTest {
public StrTest(){
}
/**
* @desc 判断是否全是字母
* @param str
* @return
*/
public boolean letterMatch(String str){
if(Pattern.matches("[a-zA-Z]*",str)){
re ...
- 11:35
- 浏览 (138)
- 评论 (1)
1. Struts2页面开发中常用标签使用说明
1.1.往action里传值的使用方式:
<input name="userName" type="text" class="input6" size="15">
a. userName属性需要在访问的action中提供相应的属性,并有SET/GET方法。
b. 可以不在访问的action中提供相应的属性,用request.getParameter(“userName”);1.2.显示标签 property 用于输出指定值:
<s:property value=" userName "/> 当action返回到指定页面是,可以通过该标 ...
- 10:19
- 浏览 (870)
- 评论 (1)
- 浏览: 1007 次
- 性别:

- 来自: 北京

- 详细资料
搜索本博客
最近加入圈子
最新评论
-
java 正则表达式
if(Pattern.matches("[a-zA-Z]*",str)){ r ...
-- by cris_jxg -
STRUTS2.0 常用标签 strut ...
哈哈 怎么就写了一篇文章啊
-- by rujingzhang






评论排行榜