
web框架
li346985170
这个作者很懒,什么都没留下…
展开
-
hibernate异常com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'test.user' doesn't
在实体类的配置中有这样一段代码/*hibernate-mapping中的catalog是什么意思1.编目.编目就是在本地或远程建立客户端到服务器的数据库连接的目的。2. catalog 属性.假若指定了这个属性,表名会加上所指定的catalog的名字扩展为全限定名。假若没有指定,表名就不会使用全限定名。而在test数据库中并没有user这个表*/原创 2013-08-05 18:49:04 · 2551 阅读 · 0 评论 -
如何在freemarker模板里面使用struts2的标签
1、将系统所需的标签库定义文件(也就是tld文件)复制到web应用中,对于struts2系统,则需要将struts2-core-2.0.6.jar中的struts-tag.tld拷贝到web应用中注:struts-tag.tld 在struts2-core-2.0.9.jar包的META-INF文件夹下。2、在web.xml中启动JSPSupportServlet JSPSupp转载 2013-08-06 22:08:18 · 1542 阅读 · 0 评论 -
基于注解的SPRINGMVC+FREEMARKER环境搭建
基于注解的SPRINGMVC+FREEMARKER环境搭建首先用IDE建一个web工程。(这个就不详细介绍了) 引入响应的jar包 web.xmlxml version="1.0" ?>web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema转载 2013-08-07 17:55:53 · 809 阅读 · 0 评论 -
com/opensymphony/xwork2/spring/SpringObjectFactory.java:209:-1
web.xml 里面少配了 org.springframework.web.context.ContextLoaderListener原创 2013-08-17 10:27:11 · 715 阅读 · 0 评论 -
The Struts dispatcher cannot be found. 在页面使用struts2的标签时报的异常
web.xml文件配置: contextConfigLocation classpath:applicationContext.xml org.springframework.web.context.ContextLoaderListener struts2 org.apache.struts2.dispatcher.n原创 2013-08-17 10:14:46 · 1008 阅读 · 0 评论 -
Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is java.io.FileNotFoun原创 2013-08-17 10:25:44 · 1192 阅读 · 0 评论 -
tomcat将jsp转成java后的文件位置
1.tomcat\work\Catalina\localhost\test\org\apache\jsp转载 2014-05-19 17:27:50 · 7377 阅读 · 0 评论