- 浏览: 157633 次
- 性别:
- 来自: 深圳
最新评论
-
acang84n:
难得是2.3的版本注解方式不一样!?
Struts2 注解配置 demo2 -
acang84n:
为什么用struts2-convention-plugin-2 ...
Struts2 注解配置 demo2 -
taney_911:
这个正则表达式也太长了把。。。
Java中正则表达式验证日期格式 -
iamaj2eeprogrammer:
非常感谢你给出的例子!
Struts2 注解配置 demo2 -
superran_sy:
害人。。。
8888-88-88
居然也格式正确
Java中正则表达式验证日期格式
文章列表
Spring2.5、Struts2、Ibatis开发框架搭建
http://community.itbbs.cn/showthread.php?p=55122
commons-dbcp.jar
commons-fileupload-1.2.1.jar
commons-logging-api-1.1.jar
commons-pool.jar
freemarker-2.3.13.jar
ibatis-2.3.4.726.jar
log4j-1.2.14.jar
ognl-2.6.11.jar
ojdbc14.jar
spring.jar
struts2-core-2 ...
- 2009-09-25 17:47
- 浏览 1852
- 评论(0)
http://www.vaannila.com/struts-2/struts-2-example/struts-2-annotations-example-1.html
注意:
1 必须引入struts2-convention-plugin-2.1.6包
2 WelcomeUserAction 类要放在 action命名的包下 并要用*Action 来命名类
3 successPage.jsp要放在web-inf/results目录下 这个是在struts.properties 根据struts.convention.result.path=/results来配置的
一搭建环境
jdk1 ...
- 2009-08-21 17:02
- 浏览 6457
- 评论(5)
from http://www.vaannila.com/struts-2/struts-2-example/struts-2-annotation-example-1.html
这个例子当中需要注意的是:
1 必须引入struts2-convention-plugin-2.1.6包
2 WelcomeUser 类要放在 action命名的包下
3 welcome-user.jsp要放在web-inf/content目录下
4 具体请参见 Convention plug-in 运行原理
一搭建环境
jdk1.6 struts2.1.6 tomcat6.0
所需包
01.commons- ...
- 2009-08-21 16:25
- 浏览 1743
- 评论(0)
转自处:http://www.vaannila.com/struts-2/struts-2-example/struts-2-ui-tags-example-1.html
搭建好struts2环境
web.xml配置
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee ...
- 2009-08-21 11:39
- 浏览 1471
- 评论(0)
原文http://www.blogjava.net/max/category/16130.html
MAX的struts教程
- 2009-08-20 15:51
- 浏览 1106
- 评论(0)
原文http://developer.51cto.com/art/200906/126965.htm
http://www.blogjava.net/lzhidj/archive/2008/07/08/213445.html
正常使用struts2.1.6,至少需要如下6 个jar包:
struts2-core-2.1.6.jar
freemarker-2.3.13.jar
commons-logging-1.0.4.jar
ognl-2.6.11.jar
xwork-2.1.2.jar
commons-fileupload-1.2 ...
- 2009-08-20 14:45
- 浏览 1074
- 评论(0)
文章来源于志伟教程资料网 (http://www.zhiweinet.com)。
UTF-8编码是什么?
UTF-8 编码是一种被广泛应用的编码,这种编码致力于把全球的语言纳入一个统一的编码,目前已经将几种亚洲语言纳入。UTF 代表 UCS Transformation Format.
UTF-8 ...
- 2009-07-30 10:14
- 浏览 1466
- 评论(0)
转自 http://money.163.com/09/0714/10/5E65I9VB00253G87.html
多年前,一位年逾六十、事业成功、深具智慧的上市公司创办人兼董事长,语重心长地告诉我:“六十多年来我体认出一个赢家与输家的最大差别,那就是,赢家永远说‘这有可能 ...
- 2009-07-15 08:46
- 浏览 686
- 评论(0)
驱动需要拷到tomcat/common/lib/目录
1 web.xml配置
<resource-ref>
<descrtiption>引用资源说明</descrtiption>
<res-ref-name>引用资源的JNDI名</res-ref-name>
<res-type>引用资源的类名</res-type>
<res-auth>认证方式(Container)</res-auth>
<!--Container-容器治理 Applic ...
- 2009-07-06 15:53
- 浏览 1462
- 评论(0)
编写一个xml文件,然后放到tomcat目录/conf/Catalina/localhost/目录下,
有个应用程序ABCWeb,我编了一个文件ABCWeb.xml内容如下:
<Context path="/ABCWeb " reloadable="true" docBase="d:\eclipseproject\ABCWeb" workDir="d:\eclipseproject\ABCWeb\work" />
把它放到了tomcat目录/conf/Cataline/localhos ...
- 2009-07-06 15:49
- 浏览 745
- 评论(0)
context.xml:
<Context>
<Resource name="mail/session"
auth="Container"
type="javax.mail.Session"
mail.smtp.host="smtp.sina.com.cn"
mail.transport.protocol="smtp"
mail.smtp.auth="true"/>
</Context>
...
- 2009-07-06 15:12
- 浏览 800
- 评论(0)
最普通的黑袜子 如何高价卖出1000万双
- 博客分类:
- 创业转载
http://www.cnemag.com.cn/fenxplun/newsfx/2009-06-09/177570.shtml
最普通的黑袜子 如何高价卖出1000万双
[2009-06-09]
这是一家欧洲的小型网络商店,正准备进军美国,叫“BlackSocks.com”,顾名思义它专卖“黑袜子”。但最普通的黑袜子,定价也十分高昂(基本上是一双10美元),十年来BlackSocks居然能成功卖出1000万双,而支撑“黑袜子网站”成功的,就是“定期送到家”的服务模式。
到目前为止,BlackSocks已经有分布在74个国家的4万名定期客户,享受着这样的“定期送黑袜 ...
- 2009-06-10 08:57
- 浏览 1101
- 评论(0)
IDC分析称中小企业软件市场将年增10.6% [收藏] [打印] [推荐]
作者: 2009-02-13 00:48:47
据市场研究公司IDC最新发表的研究报告称,到2012年年底,全球中小企业应用软件市场的规模将达到803亿美元。这个市场从2008年至2012年的 ...
- 2009-06-02 16:48
- 浏览 1022
- 评论(0)
.初步行程:(全程不走购物)
鼎湖山、七星岩、音乐喷泉二日团
第一天 深圳—肇庆午餐—鼎湖山—音乐喷泉
07:50—08:00指定时间,地点集合出发乘豪华空调车走高速公路,一路听导游讲解 ...
- 2009-05-31 09:50
- 浏览 797
- 评论(0)
下载dwr.jar 放在lib下
在web.xml中加入如下代码:
<servlet>
<servlet-name>dwr-invoker</servlet-name>
<display-name>DWR Servlet</display-name>
<servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class>
<init-param>
<param-name>debug& ...
- 2009-02-23 16:19
- 浏览 2276
- 评论(0)