摘要:
web.xml配置文件代码: <context-param> <param-name>contextConfigLocation</param-name> <param-value>classpath*:applicationContext*.xml</param-value> </context-param> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-c 阅读全文
posted @ 2011-11-26 22:39
周雷
阅读(28221)
评论(1)
推荐(0)
摘要:
1.mysqldialect:org.hibernate.dialect.MySQLDialect驱动名称:com.mysql.jdbc.Driver连接字符串jdbc:mysql://localhost/dbName2.postgresdialect:org.hibernate.dialect.PostgreSQLDialect驱动名称:org.postgresql.Driver连接字符串:jdbc:postgresql://127.0.0.1:5432/dbName3.sqlserverdialect:org.hibernate.dialect.SQLServerDialect驱动名称:c 阅读全文
posted @ 2011-11-26 16:56
周雷
阅读(391)
评论(0)
推荐(0)
摘要:
1.页面自动跳转:<meta http-equiv="refresh" content="0.1;url=login/login_toLogin.action">2.jsp中获取项目名(得到"/myProjectName"):<%=request.getContextPath()%> 阅读全文
posted @ 2011-11-26 12:56
周雷
阅读(137)
评论(0)
推荐(0)

浙公网安备 33010602011771号