
Struts2
段刘昌
这个作者很懒,什么都没留下…
展开
-
Struts2中的输入校验使用正则因正则中含有空格导致报错
true 必须输入名字 您输入的用户名只能是字母和数字 ,且长度必须在4到25之间 java.util.regex.PatternSyntaxException: Unclosed counted closure near index 6(\w{4, 25})此处的正则中是不能包含空格的,否则会导致报正则语法错原创 2017-08-01 10:33:46 · 955 阅读 · 0 评论 -
初识Struts2
web.xml HelloWorld struts2 org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter struts2 /* index.jsp struts.xml<!DOCTYPE struts P原创 2017-07-27 21:20:53 · 543 阅读 · 0 评论 -
Struts2使用JSTL在前台取不到后台的List等
Struts2使用JSTL在前台取不到后台的List等看看在Action中是否忘记添加Get/Set方法了原创 2017-09-22 11:48:16 · 799 阅读 · 0 评论