主题 : 静态页面的生成与取消 |
级别: 解元
![]() |
1# 发表于:2014-05-19 11:21:02 IP:115.107.*.*
|
||||
---|---|---|---|---|---|
级别: 状元
![]() |
4# 发表于:2014-05-19 11:24:15 IP:182.213.*.*
在栏目下设置了静态页开启,在到你生成栏目下生成就可以,取消就把这个栏目下开启的复选框取消勾选,把你之前生成的静态页到你设置的静态页目录下删除,重新启动tomcat
|
||
---|---|---|---|
级别: 解元
![]() |
5# 发表于:2014-05-19 11:39:39 IP:115.107.*.*
好的,谢谢。还有个问题,我把新闻栏目更改为不显示之后,现在要改成显示,提交的时候报错了:数据被引用,不能删除。
Could not execute JDBC batch update; SQL [update jc_channel_model set tpl_content=?, model_id=? where channel_id=? and priority=?]; nested exception is org.hibernate.exception.DataException: Could not execute JDBC batch update |
||
---|---|---|---|
级别: 解元
![]() |
8# 发表于:2014-05-19 11:56:37 IP:115.107.*.*
11:33:43.490 ERROR org.hibernate.util.JDBCExceptionReporter - Data truncation: Data too long for column 'tpl_content' at row 1
|
||
---|---|---|---|