主题 : 关于首页
级别: 解元
UID: 62598
积分:363 加为好友
威望: 4 精华: 0
主题:22 回复:171
注册时间:2014-05-30
在线时长:0
1#   发表于:2014-07-10 17:50:21  IP:110.201.*.*
请问程序中控制首先跳转  首页.html  的代码在哪块   因为在跳转的时候想加一点东西
级别: 解元
UID: 62598
积分:363 加为好友
威望: 4 精华: 0
主题:22 回复:171
注册时间:2014-05-30
在线时长:0
2#   发表于:2014-07-10 17:57:44  IP:110.201.*.*
为什么部署的时候出现一下情况:
17:50:44.912 INFO  org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping - Mapped URL path [/visual/getPage{tempId}.jspx] onto handler 'visualAct'
17:50:44.912 DEBUG org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping - Rejected bean name 'servletConfig': no URL paths identified
17:50:44.912 DEBUG org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping - Rejected bean name 'applicationEventMulticaster': no URL paths identified
17:50:44.912 DEBUG org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping - Rejected bean name 'lifecycleProcessor': no URL paths identified
17:50:44.912 DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0'
17:50:44.913 DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0'
17:50:44.913 DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0'
17:50:44.920 DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0' to allow for resolving potential circular references
17:50:44.925 DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating instance of bean 'com.jeecms.common.web.springmvc.BindingInitializer#12a02a7'
17:50:44.925 DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Finished creating instance of bean 'com.jeecms.common.web.springmvc.BindingInitializer#12a02a7'
17:50:44.925 DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0'
17:50:44.926 DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.web.servlet.handler.SimpleMappingExceptionResolver#0'
17:50:44.926 DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.web.servlet.handler.SimpleMappingExceptionResolver#0'
17:50:44.926 DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.web.servlet.handler.SimpleMappingExceptionResolver#0' to allow for resolving potential circular references
17:50:44.926 DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.web.servlet.handler.SimpleMappingExceptionResolver#0'
17:50:44.927 DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator'
17:50:44.927 DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator'
17:50:44.927 DEBUG org.springframework.web.servlet.DispatcherServlet - Unable to locate RequestToViewNameTranslator with name 'viewNameTranslator': using default [org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator@134bd90]
17:50:44.927 DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'freemarkerViewResolver'
17:50:44.927 DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating instance of bean 'freemarkerViewResolver'
17:50:44.973 DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Eagerly caching bean 'freemarkerViewResolver' to allow for resolving potential circular references
17:50:44.997 DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Finished creating instance of bean 'freemarkerViewResolver'
17:50:44.997 DEBUG org.springframework.web.servlet.DispatcherServlet - Published WebApplicationContext of servlet 'JeeCmsFront' as ServletContext attribute with name [org.springframework.web.servlet.FrameworkServlet.CONTEXT.JeeCmsFront]
17:50:44.997 INFO  org.springframework.web.servlet.DispatcherServlet - FrameworkServlet 'JeeCmsFront': initialization completed in 1349 ms
17:50:44.997 DEBUG org.springframework.web.servlet.DispatcherServlet - Servlet 'JeeCmsFront' configured successfully
级别: 解元
UID: 62598
积分:363 加为好友
威望: 4 精华: 0
主题:22 回复:171
注册时间:2014-05-30
在线时长:0
3#   发表于:2014-07-10 18:13:19  IP:110.201.*.*
18:00:11.917 DEBUG org.hibernate.hql.ast.ErrorCounter - throwQueryException() : no errors
18:00:11.917 DEBUG org.hibernate.hql.ast.QueryTranslatorImpl - HQL: select count(distinct bean.accessIp) from com.jeecms.cms.entity.assist.CmsSiteFlow bean where bean.site.id=:siteId
18:00:11.917 DEBUG org.hibernate.hql.ast.QueryTranslatorImpl - SQL: select count(distinct cmssiteflo0_.access_ip) as col_0_0_ from jc_site_flow cmssiteflo0_ where cmssiteflo0_.site_id=?
18:00:11.917 DEBUG org.hibernate.hql.ast.ErrorCounter - throwQueryException() : no errors
18:00:11.917 DEBUG org.hibernate.cache.StandardQueryCache - checking cached query results in region: org.hibernate.cache.StandardQueryCache
18:00:11.917 DEBUG org.hibernate.cache.StandardQueryCache - query results were not found in cache
18:00:11.917 DEBUG org.hibernate.jdbc.AbstractBatcher - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
18:00:11.917 DEBUG org.hibernate.SQL - select count(distinct cmssiteflo0_.access_ip) as col_0_0_ from jc_site_flow cmssiteflo0_ where cmssiteflo0_.site_id=?
18:00:11.920 DEBUG org.hibernate.jdbc.AbstractBatcher - about to open ResultSet (open ResultSets: 0, globally: 0)
18:00:11.921 DEBUG org.hibernate.loader.Loader - result row: 
18:00:11.921 DEBUG org.hibernate.jdbc.AbstractBatcher - about to close ResultSet (open ResultSets: 1, globally: 1)
18:00:11.921 DEBUG org.hibernate.jdbc.AbstractBatcher - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
18:00:11.921 DEBUG org.hibernate.engine.StatefulPersistenceContext - initializing non-lazy collections
18:00:11.921 DEBUG org.hibernate.cache.StandardQueryCache - caching query results in region: org.hibernate.cache.StandardQueryCache; timestamp=5754824341528576
18:00:11.921 DEBUG org.hibernate.hql.ast.QueryTranslatorImpl - parse() - HQL: select count(distinct bean.sessionId) from com.jeecms.cms.entity.assist.CmsSiteFlow bean where bean.site.id=:siteId
18:00:11.935 DEBUG org.hibernate.hql.ast.AST - --- HQL AST ---
 \-[QUERY] 'query'
    +-[SELECT_FROM] 'SELECT_FROM'
    |  +-[FROM] 'from'
    |  |  \-[RANGE] 'RANGE'
    |  |     +-[DOT] '.'
    |  |     |  +-[DOT] '.'
    |  |     |  |  +-[DOT] '.'
    |  |     |  |  |  +-[DOT] '.'
    |  |     |  |  |  |  +-[DOT] '.'
    |  |     |  |  |  |  |  +-[IDENT] 'com'
    |  |     |  |  |  |  |  \-[IDENT] 'jeecms'
    |  |     |  |  |  |  \-[IDENT] 'cms'
    |  |     |  |  |  \-[IDENT] 'entity'
    |  |     |  |  \-[IDENT] 'assist'
    |  |     |  \-[IDENT] 'CmsSiteFlow'
    |  |     \-[ALIAS] 'bean'
    |  \-[SELECT] 'select'
    |     \-[COUNT] 'count'
    |        +-[DISTINCT] 'distinct'
    |        \-[DOT] '.'
    |           +-[IDENT] 'bean'
    |           \-[IDENT] 'sessionId'
    \-[WHERE] 'where'
       \-[EQ] '='
          +-[DOT] '.'
          |  +-[DOT] '.'
          |  |  +-[IDENT] 'bean'
          |  |  \-[IDENT] 'site'
          |  \-[IDENT] 'id'
          \-[COLON] ':'
             \-[IDENT] 'siteId'
级别: 解元
UID: 62598
积分:363 加为好友
威望: 4 精华: 0
主题:22 回复:171
注册时间:2014-05-30
在线时长:0
4#   发表于:2014-07-10 18:14:00  IP:110.201.*.*
部署tomcat后  运行完就这样了 是什么意思
级别: 解元
UID: 62598
积分:363 加为好友
威望: 4 精华: 0
主题:22 回复:171
注册时间:2014-05-30
在线时长:0
5#   发表于:2014-07-11 08:46:38  IP:116.67.*.*
hello
级别: 解元
UID: 62598
积分:363 加为好友
威望: 4 精华: 0
主题:22 回复:171
注册时间:2014-05-30
在线时长:0
6#   发表于:2014-07-11 08:54:16  IP:110.201.*.*
想问问程序中控制首先跳转  首页.html  的代码在哪块   因为想在跳转之前加一点东西
级别: 状元
UID: 33380
积分:50625 加为好友
威望: 21 精华: 3
主题:88 回复:30687
注册时间:2012-05-07
在线时长:0
7#   发表于:2014-07-11 08:56:12  IP:61.128.*.*
只需要修改/ROOT/WEB-INF/web.xml文件,在 
<welcome-file-list>后面添加一个自己的首页文件, 
 <welcome-file>test.html</welcome-file> 
功成由勤,业精于勤。
级别: 解元
UID: 62598
积分:363 加为好友
威望: 4 精华: 0
主题:22 回复:171
注册时间:2014-05-30
在线时长:0
8#   发表于:2014-07-11 08:58:24  IP:110.201.*.*
嗯  不是要加页面  是想用代码控制一下  加点东西  想加个用户的登录信息
级别: 状元
UID: 33380
积分:50625 加为好友
威望: 21 精华: 3
主题:88 回复:30687
注册时间:2012-05-07
在线时长:0
9#   发表于:2014-07-11 08:58:53  IP:61.128.*.*
\com\jeecms\cms\action\front\DynamicPageAct.java这个首页跳转action
功成由勤,业精于勤。
级别: 解元
UID: 62598
积分:363 加为好友
威望: 4 精华: 0
主题:22 回复:171
注册时间:2014-05-30
在线时长:0
10#   发表于:2014-07-11 08:59:40  IP:110.201.*.*
还有个问题  怎么程序部署在本地的tomcat  会报上面的问题  你往上看
1 2 > >| 共2页