
struts2
zwdsmileface
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Struts2 文件上传
在struts2中实现文件的上传(采用Struts2标签) 首先是jsp页面 文件上传界面:UpFile.jsp: <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort(原创 2015-04-18 10:24:25 · 339 阅读 · 0 评论 -
Struts2错误:The Struts dispatcher cannot be found.
如果你在配置struts2如果出现下列问题 The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filter. Struts tags are only usable when the request has passed through原创 2015-04-18 10:24:19 · 626 阅读 · 0 评论 -
struts2 标签详解
要使用Struts2的标签,只需要在JSP页面添加如下一行定义即可: struts2的标签共分为五大类: 一、逻辑控制标签 用于进行逻辑控制输出。主要分以下几类: 1)条件标签:用于执行基本的条件流转 :拥有一个test属性,其表达式的值用来决定标签里内容是否显示。欢迎hzd :同上。 2)迭代标签:用于遍历集合(java.util.Collection)或者枚举值(ja原创 2015-04-18 10:25:32 · 513 阅读 · 0 评论