idx: footprint070707

+ footprint070707
| + src
| | + com.footprint
| | + com.footprint.bean
| | + com.footprint.controller
| | + com.footprint.controller.FootprintController.java
| | + com.footprint.form
| | + com.footprint.form.LoginForm.java
| | + com.footprint.service
| | + com.footprint.service.LoginService.java
| | + com.footprint.controller.LoginController.java
| | + log4j.properties
| | + msg.properties
| + JRE システム・ライブラリー [jdk1.5.0_11]
| + Tomcat v5.5 ランタイム
| + Web App ライブラリー
| | + commons-logging.jar
| | + jstl.jar
| | + log4j-1.2.14.jar
| | + spring.jar
| | + standard.jar
| + build
| + WebContent
| | + css
| | | + login
| | | | + login.css
| | | + register
| | | | + register.css
| | | + footprint.css
| | + META-INF
| | | + MANIFEST.NF
| | + WEB-INF
| | | + common
| | | | + footer.jspf
| | | | + header.jspf
| | | + jsp
| | | | + include.jsp
| | | | + list.jsp
| | | | + login.jsp
| | | | + welcome.jsp
| | | + lib
| | | + tag
| | | | + c.tld
| | | | + fmt.tld
| | | | + spring-form.tld
| | | | + spring.tld
| | | + apctx-temp.xml
| | | + applicationContext.xml
| | | + fp-servlet.xml
| | | + web.xml
| | + enter.jsp
| | + index.jsp
2007-10-11 01:51 : footprint : コメント : 0 : トラックバック : 0 :

footprint070707:list.jsp

<'?xml version="1.0" encoding="UTF-8" ?>
<'!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<'%@ page contentType="text/html;charset=UTF-8" language="java" %>
<'%@ include file="/WEB-INF/jsp/include.jsp" %>

<'html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<'head>
<'meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<'meta http-equiv="content-style-type" content="text/css"/>
<'meta http-equiv="content-script-type" content="text/javascript"/>
<'meta http-equiv="Refresh" content="1000;http://8318.blog100.fc2.com/"/>
<'meta name="author" content="late-nighter"/>
<'meta name="description" content="the footprints of late-nighter"/>
<'meta name="Keywordes" content="since2OO7"/>
<'meta name="copyright" content="late-nighter"/>
<'meta name="date" content="2007-07-07"/>
<'meta name="robots" content="index, follow"/>
<'link rel="stylesheet" href="/footprint070707/css/login/login.css" type="text/css" />
<'title><'spring:message code="project.title"/><'/title>
<'/head>
<'body>

<'div id="container">
<'!-- HEADER START -->
<'jsp:include flush="true" page="/WEB-INF/common/header.jspf"><'/jsp:include>
<'!-- HEADER END -->
<'!--+++++++++++++++++++++++++++++++++++++++++++-->
<'div id="body-container">
<'div id="body-header">
<'div id="sc-name">
<'fmt:message key="list.title"/>
<'/div>
<'div id="help">
<'a href="#" title="help">?<'/a>
<'/div>
<'/div>
<'div id="body-panel">
<'!-------------------------->

<'div id="datetime-panel">
<'c:out value="${datetime}"/>
<'/div>

<'!-------------------------->


<'table border="1">

<'tr>
<'th>id<'/th>
<'th>value<'/th>
<'/tr>

<'c:forEach var="theItem" items="${resultList}">
<'tr>
<'td>${theItem.id}<'/td>
<'td>${theItem.value}<'/td>
<'/tr>
<'/c:forEach>

<'/table>


<'!-------------------------->
<'/div><'!--id="body-panel"-->
<'/div><'!--id="body-container"-->
<'!--+++++++++++++++++++++++++++++++++++++++++++-->
<'!-- FOOTER START -->
<'jsp:include flush="true" page="/WEB-INF/common/footer.jspf"><'/jsp:include>
<'!-- FOOTER END -->
<'/div><'!--(id="container")-->
<'/body>
<'/html>
2007-10-11 01:47 : footprint : コメント : 0 : トラックバック : 0 :

IllegalStateException

==error==
java.lang.IllegalStateException

==reason==
cuz of using the spring:message at the index.jsp without the definition of contextLoaderListener.

==solution==
still not sure.

==cf==
Filterを SpringFramework で管理するのに ServletContextListener に ContextLoaderListener を登録しておく必要がある。
so, add following into web.xml.

org.springframework.web.context.ContextLoaderListener


==log==
2007/07/23 11:54:52][ERROR][RequestContextAwareTag] No WebApplicationContext found: no ContextLoaderListener registered?
java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?
at org.springframework.web.servlet.support.RequestContextUtils.getWebApplicationContext(RequestContextUtils.java:84)
at org.springframework.web.servlet.support.RequestContext.initContext(RequestContext.java:222)
at org.springframework.web.servlet.support.JspAwareRequestContext.initContext(JspAwareRequestContext.java:75)
at org.springframework.web.servlet.support.JspAwareRequestContext.(JspAwareRequestContext.java:49)
at org.springframework.web.servlet.tags.RequestContextAwareTag.doStartTag(RequestContextAwareTag.java:74)
at org.apache.jsp.index_jsp._jspx_meth_spring_005fmessage_005f0(index_jsp.java:229)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:83)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:595)
2007-07-24 01:45 : footprint : コメント : 0 : トラックバック : 0 :

footprint070707: footer.jspf


<'!-- FOOTER START -->
<'div class="clear"><'/div>
<'div id="footer">
<'div id="copyright">
Copyright(c)2007 late-nighter All Rights Reserved.
<'/div>
<'/div>
<'!-- FOOTER END -->
2007-07-19 00:09 : footprint : コメント : 0 : トラックバック : 0 :

footprint070707: header.jspf

<'!-- HEADER START -->
<'div id="header">+ <'a href="http://8318.blog100.fc2.com/">Home<'/a> +
<'/div>
<'!-- HEADER END -->
2007-07-19 00:08 : footprint : コメント : 0 : トラックバック : 0 :

footprint070707: welcome.jsp

<'?xml version="1.0" encoding="UTF-8" ?>
<'!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<'%@ page contentType="text/html;charset=UTF-8" language="java" %>
<'%@ include file="/WEB-INF/jsp/include.jsp" %>

<'html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<'head>
<'meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<'meta http-equiv="content-style-type" content="text/css"/>
<'meta http-equiv="content-script-type" content="text/javascript"/>
<'meta http-equiv="Refresh" content="1000;http://8318.blog100.fc2.com/"/>
<'meta name="author" content="late-nighter"/>
<'meta name="description" content="the footprints of late-nighter"/>
<'meta name="Keywordes" content="since2OO7"/>
<'meta name="copyright" content="late-nighter"/>
<'meta name="date" content="2007-07-07"/>
<'meta name="robots" content="index, follow"/>
<'link rel="stylesheet" href="/footprint070707/css/login/login.css" type="text/css" />
<'title><'spring:message code="project.title"/><'/title>
<'/head>
<'body>

<'div id="container">
<'!-- HEADER START -->
<'jsp:include flush="true" page="/WEB-INF/common/header.jspf"><'/jsp:include>
<'!-- HEADER END -->
<'!--+++++++++++++++++++++++++++++++++++++++++++-->
<'div id="body-container">
<'div id="body-header">
<'div id="sc-name">
<'fmt:message key="welcome.title"/>
<'/div>
<'div id="help">
<'a href="#" title="help">?<'/a>
<'/div>
<'/div>
<'div id="body-panel">
<'!-------------------------->

<'div id="datetime-panel">
<'c:out value="${datetime}"/>
<'/div>

<'!-------------------------->

<'a href="simpleListForm.htm">simple list test error cell<'/a><'br />



<'!-------------------------->
<'/div><'!--id="body-panel"-->
<'/div><'!--id="body-container"-->
<'!--+++++++++++++++++++++++++++++++++++++++++++-->
<'!-- FOOTER START -->
<'jsp:include flush="true" page="/WEB-INF/common/footer.jspf"><'/jsp:include>
<'!-- FOOTER END -->
<'/div><'!--(id="container")-->
<'/body>
<'/html>
2007-07-19 00:07 : footprint : コメント : 0 : トラックバック : 0 :

footprint070707: login.jsp

<'?xml version="1.0" encoding="UTF-8" ?>
<'!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<'%@ page contentType="text/html;charset=UTF-8" language="java" %>
<'%@ include file="/WEB-INF/jsp/include.jsp" %>

<'html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<'head>
<'meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<'meta http-equiv="content-style-type" content="text/css"/>
<'meta http-equiv="content-script-type" content="text/javascript"/>
<'meta http-equiv="Refresh" content="1000;http://8318.blog100.fc2.com/"/>
<'meta name="author" content="late-nighter"/>
<'meta name="description" content="the footprints of late-nighter"/>
<'meta name="Keywordes" content="since2OO7"/>
<'meta name="copyright" content="late-nighter"/>
<'meta name="date" content="2007-07-07"/>
<'meta name="robots" content="index, follow"/>
<'link rel="stylesheet" href="/footprint070707/css/login/login.css" type="text/css" />
<'title><'spring:message code="project.title"/><'/title>
<'/head>
<'body>

<'div id="container">
<'!-- HEADER START -->
<'jsp:include flush="true" page="/WEB-INF/common/header.jspf"><'/jsp:include>
<'!-- HEADER END -->
<'!--+++++++++++++++++++++++++++++++++++++++++++-->
<'div id="body-container">
<'div id="body-header">
<'div id="sc-name">
<'fmt:message key="login.title"/>
<'/div>
<'div id="help">
<'a href="#" title="help">?<'/a>
<'/div>
<'/div>
<'div id="body-panel">
<'!-------------------------->

<'div id="datetime-panel">
<'c:out value="${datetime}"/>
<'/div>

<'!-------------------------->

<'div id="login-body">

<'%--OK-----------------------------------------------------------------
<'form action="loginForm.htm" method="post">
<'label for="id">id:<'/label>
<'input type="text" name="id" value="<'c:out value="${status.value}"/>"/>
<'br />
<'label for="pw">pw:<'/label>
<'input type="password" id="pw" value="<'c:out value="${status.value}"/>"/>
<'br />
<'div id="navi-panel">
<'input type="submit" value="LOGIN" class="submit-button"/>
<'/div>
<'/form>
-----------------------------------------------------------------------%>
<'%--OK-----------------------------------------------------------------
<'form:form action="loginForm.htm" commandName="loginForm" method="post">
<'label for="id">id:<'/label>
<'input type="text" name="id" value="<'c:out value="${status.value}"/>"/>
<'br />
<'label for="pw">pw:<'/label>
<'input type="password" id="pw" value="<'c:out value="${status.value}"/>"/>
<'br />
<'div id="navi-panel">
<'input type="submit" value="LOGIN" class="submit-button"/>
<'/div>
<'/form:form>
-----------------------------------------------------------------------%>
<'form:form action="loginForm.htm" commandName="loginForm" method="post">
<'label for="id">id:<'/label>
<'form:input path="id"/>

<'br />
<'label for="pw">pw:<'/label>
<'form:password path="pw"/>
<'br />
<'div id="navi-panel">
<'input type="submit" value="LOGIN" class="submit-button"/>
<'/div>
<'/form:form>

<'/div>

<'!-------------------------->
<'/div><'!--id="body-panel"-->
<'/div><'!--id="body-container"-->
<'!--+++++++++++++++++++++++++++++++++++++++++++-->
<'!-- FOOTER START -->
<'jsp:include flush="true" page="/WEB-INF/common/footer.jspf"><'/jsp:include>
<'!-- FOOTER END -->
<'/div><'!--(id="container")-->
<'/body>
<'/html>
2007-07-19 00:05 : footprint : コメント : 0 : トラックバック : 0 :

footprint070707: include.jsp

<'%@ page session="false"%>

<'%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<'%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<'%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<'%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
2007-07-19 00:03 : footprint : コメント : 0 : トラックバック : 0 :

footprint070707: fp-servlet.xml

<'?xml version="1.0" encoding="UTF-8"?>
<'beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">

<'bean id="footprintController" class="com.footprint.controller.FootprintController"/>

<'bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<'property name="mappings">
<'props>
<'prop key="/login.htm">footprintController<'/prop>
<'prop key="/loginForm.htm">loginController<'/prop>
<'/props>
<'/property>
<'/bean>

<'bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<'property name="viewClass"><'value>org.springframework.web.servlet.view.JstlView<'/value><'/property>
<'property name="prefix"><'value>/WEB-INF/jsp/<'/value><'/property>
<'property name="suffix"><'value>.jsp<'/value><'/property>
<'/bean>

<'bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource">
<'property name="basename"><'value>msg<'/value><'/property>
<'/bean>

<'bean id="loginController" class="com.footprint.controller.LoginController">
<'property name="loginService"><'ref bean="loginService"/><'/property>
<'/bean>



<'bean id="loginForm" class="com.footprint.form.LoginForm"/>
<'bean id="loginService" class="com.footprint.service.LoginService"/>

<'/beans>

tag : SimpleUrlHandlerMapping InternalResourceViewResolver JstlView ResourceBundleMessageSource

2007-07-18 23:41 : footprint : コメント : 0 : トラックバック : 0 :

footprint070707: web.xml

<'?xml version="1.0" encoding="UTF-8"?>
<'web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<'display-name>footprint070707<'/display-name>
<'welcome-file-list>
<'welcome-file>index.jsp<'/welcome-file>
<'/welcome-file-list>

<'servlet>
<'servlet-name>fp<'/servlet-name>
<'servlet-class>org.springframework.web.servlet.DispatcherServlet<'/servlet-class>
<'load-on-startup>1<'/load-on-startup>
<'/servlet>

<'servlet-mapping>
<'servlet-name>fp<'/servlet-name>
<'url-pattern>*.htm<'/url-pattern>
<'/servlet-mapping>





<'/web-app>

tag : DispatcherServlet

2007-07-18 23:38 : footprint : コメント : 0 : トラックバック : 0 :

footprint070707: enter.jsp

<'?xml version="1.0" encoding="UTF-8" ?>
<'!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<'%@ page contentType="text/html;charset=UTF-8" language="java" %>
<'%@ include file="/WEB-INF/jsp/include.jsp" %>

<'html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<'head>
<'meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<'meta http-equiv="content-style-type" content="text/css"/>
<'meta http-equiv="content-script-type" content="text/javascript"/>
<'meta http-equiv="Refresh" content="8;http://8318.blog100.fc2.com/"/>
<'meta name="author" content="late-nighter"/>
<'meta name="description" content="the footprints of late-nighter"/>
<'meta name="Keywordes" content="since2OO7"/>
<'meta name="copyright" content="late-nighter"/>
<'meta name="date" content="2007-07-07"/>
<'meta name="robots" content="index, follow"/>
<'title><'fmt:message key="project.title"/> enter.jsp <'/title>
<'style type="text/css">
@charset "UTF-8";
html,
body {
color: #888;
}
<'/style>
<'/head>
<'body>
enter.jsp
<'br /><'hr />

<'c:redirect url="/loginForm.htm"/>

<'/body>
<'/html>
2007-07-18 23:33 : footprint : コメント : 0 : トラックバック : 0 :

footprint070707: index.jsp

<'?xml version="1.0" encoding="UTF-8" ?>
<'!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<'%@ page contentType="text/html;charset=UTF-8" language="java" %>
<'%@ include file="/WEB-INF/jsp/include.jsp" %>

<'html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<'head>
<'meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<'meta http-equiv="content-style-type" content="text/css"/>
<'meta http-equiv="content-script-type" content="text/javascript"/>
<'meta http-equiv="Refresh" content="1000;http://8318.blog100.fc2.com/"/>
<'meta name="author" content="late-nighter"/>
<'meta name="description" content="the footprints of late-nighter"/>
<'meta name="Keywordes" content="since2OO7"/>
<'meta name="copyright" content="late-nighter"/>
<'meta name="date" content="2007-07-07"/>
<'meta name="robots" content="index, follow"/>
<'link rel="stylesheet" href="/footprint070707/css/login/login.css" type="text/css" />
<'title><'fmt:message key="project.title"/><'/title>
<'style type="text/css">
@charset "UTF-8";
html,
body {
color: #888;
}
<'/style>
<'/head>
<'body>

<'div id="container">
<'!-- HEADER START -->
<'jsp:include flush="true" page="/WEB-INF/common/header.jspf"><'/jsp:include>
<'!-- HEADER END -->
<'!--+++++++++++++++++++++++++++++++++++++++++++-->
<'div id="body-container">
<'div id="body-header">
<'div id="sc-name">
index
<'/div>
<'div id="help">
<'a href="#" title="help">?<'/a>
<'/div>
<'/div>
<'div id="body-panel">
<'!-------------------------->

<'div id="datetime-panel">
<'c:out value="${datetime}"/>
<'/div>

<'!-------------------------->
<'!-------------------------->


<'a href="enter.jsp">enter<'/a><'br />


<'br />
<'br />--------------------------------------------------
<'br />## XML def
<'br />ex:
<'br />?xml version="1.0" encoding="UTF-8" ?
<'br />--------------------------------------------------
<'br />## DOCTYPE def
<'br />ex:
<'br />!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
<'br />--------------------------------------------------
<'br />## namespace specification for XHTML
<'br />ex:
<'br />xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"
<'br />--------------------------------------------------
<'br />### properties: http-equiv
<'br />--------------------------------------------------
<'br />## content-type
<'br />文字コード
<'br />ex:
<'br />meta http-equiv="content-type" content="text/html; charset=Shift_JIS"
<'br />--------------------------------------------------
<'br />## content-style-type
<'br />スタイルシート言語
<'br />ex:
<'br />meta http-equiv="content-style-type" content="text/css"
<'br />--------------------------------------------------
<'br />## content-script-type
<'br /> スクリプト言語
<'br />ex:
<'br />meta http-equiv="content-script-type" content="text/javascript"
<'br />--------------------------------------------------
<'br />## refresh
<'br />ページを読込後、一定の時間がたつと自動的に更新する。
<'br />content="再読み込みまでの秒数;URL=表示するページのURL"
<'br />ex:
<'br />meta http-equiv="refresh" content="5;http://8318.blog100.fc2.com/"
<'br />--------------------------------------------------
<'br />## author
<'br />ex:
<'br />meta name="author" content="late-nighter" /
<'br />--------------------------------------------------
<'br />## description
<'br />ex:
<'br />meta name="description" content="the footprints of late-nighter" /
<'br />--------------------------------------------------
<'br />## keywords
<'br />ex:
<'br />meta name="keywords" content="since2OO7" /
<'br />--------------------------------------------------
<'br />## copyright
<'br />ex:
<'br />meta name="copyright" content="late-nighter" /
<'br />--------------------------------------------------
<'br />## date
<'br />ex:
<'br />meta name="date" content="2007-07-07" /
<'br />--------------------------------------------------
<'br />## robots
<'br />インターネット上に存在するページは、ロボット型検索エンジンにより自動収集される。metaタグでの指定により、自動収集の制御が可能。
<'br />ex:
<'br />meta name="robots" content="index, follow" /
<'br />content="noindex, nofollow": 自動収集を「許可しない」
<'br />content="index, follow": 自動収集を「許可する」
<'br />--------------------------------------------------
<'br />


<'!-------------------------->
<'!-------------------------->
<'/div><'!--id="body-panel"-->
<'/div><'!--id="body-container"-->
<'!--+++++++++++++++++++++++++++++++++++++++++++-->
<'!-- FOOTER START -->
<'jsp:include flush="true" page="/WEB-INF/common/footer.jspf"><'/jsp:include>
<'!-- FOOTER END -->
<'/div><'!--(id="container")-->
<'/body>
<'/html>
2007-07-18 23:29 : footprint : コメント : 0 : トラックバック : 0 :

footprint070707: footprint.css

@charset "UTF-8";
/*----------------------------------------------*/
* {
margin : 0;
padding : 0;
font-size: 10pt;
color: #888;
}

html, body {
height: 100%;
width: 100%;
overflow: hidden;
}

a {
text-decoration: underline;
}

a:link {
color: skyblue;
}
a:visited {
color: navy;
}
a:hover {
color: lightblue;
}
a:active {
color: darkblue;
}

#container {
margin : 0;
padding-top: 50px;
padding-bottom: 20px;
position : relative;
display: block;
width : 100%;
height: 100%;
min-height : 100%;
overflow: auto;
}

/*-- header --*/
#header {
padding-top: 15px;
position: absolute;
top: 0px;
width : 100%;
height: 50px;
color: white;
background-color: #e4e4e4;
text-align: center;
border-bottom: 1px solid gray;
}
#header a {
text-decoration: none;
font-weight: bold;
}

#header a:link {
color: white;
}
#header a:visited {
color: white;
}
#header a:hover {
color: #777;
}
#header a:active {
color: white;
}

/*-- footer --*/
#footer {
position: absolute;
bottom: 0px;
width : 100%;
height: 20px;
color: white;
background-color: #e4e4e4;
border-top: 1px solid gray;
}

#footer #copyright {
text-align: center;
padding-top: 0.5em;
color: white;
font-size: 8pt;
font-weight: bold;
}

#body-container {
position: relative;
margin-left: 190px;
padding-top: 35px;
display: block;
width: 100%;
margin: 0;
background: #FFFFFF;
height: 100%;
overflow: hidden;
}

div#body-header {
padding: 1px 2px 1px 2px;
position: absolute;
top: 0px;
width: 99.6%;
height: 35px;
border-bottom: 1px solid #999999;
}

#body-header #sc-name {
padding-top: 0.5em;
padding-left: 1em;
float:left;
height: 30px;
font-size: 12pt;
font-weight: bold;
}

#body-header #help {
padding-top: 12px;
padding-right: 1em;
height: 30px;
float: right;
color: gray;
font-size: 1pt;
}

#body-header #help a{
text-decoration: none;
color: gray;
}

/*-- BODY-PANEL --*/
#body-panel {
margin-left: 2px;
margin-right: 2px;
padding-top: 0px;
width: 100%;
height: 100%;
overflow: auto;
}

/*-- datetime --*/
#datetime-panel {
text-align: right;
}

/*-- navi panel --*/
#navi-panel {
padding: 1% 5% 1%;
float: right;
}

#navi-panel .submit-button {
border: 1px solid gray;
background-color: gray;
color: white;
font-weight: bold;
}

/*----------------------------------------------*/
/*
border: 2px dotted green;
*/
/*----------------------------------------------*/

2007-07-18 23:25 : footprint : コメント : 0 : トラックバック : 0 :

err

==error==
org.springframework.beans.factory.BeanCreationException

==solution==
@servlet.xml
comment out commandClass-property of the bean extending SimpleFormController.

==reason==
not sure.

==log==
[2007/07/11 09:56:31][ERROR][FrameworkServlet] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loginController' defined in ServletContext resource [/WEB-INF/footprint-servlet.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [com.footprint.form.LoginForm] to required type [java.lang.Class] for property 'commandClass'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [com.footprint.form.LoginForm] to required type [java.lang.Class] for property 'commandClass': no matching editors or conversion strategy found
Caused by:
org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessException details (1) are:
PropertyAccessException 1:
org.springframework.beans.TypeMismatchException: Failed to convert property value of type [com.footprint.form.LoginForm] to required type [java.lang.Class] for property 'commandClass'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [com.footprint.form.LoginForm] to required type [java.lang.Class] for property 'commandClass': no matching editors or conversion strategy found
Caused by:
java.lang.IllegalArgumentException: Cannot convert value of type [com.footprint.form.LoginForm] to required type [java.lang.Class] for property 'commandClass': no matching editors or conversion strategy found
at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:231)
at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:138)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:815)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:645)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:78)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:59)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1126)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:733)
at org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler(AbstractUrlHandlerMapping.java:256)
at org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandlers(SimpleUrlHandlerMapping.java:125)
at org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.initApplicationContext(SimpleUrlHandlerMapping.java:103)
at org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:73)
at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:72)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:301)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1167)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:331)
at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:265)
at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:235)
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3025)
at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:432)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1278)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)
at java.lang.Thread.run(Thread.java:595)
[2007/07/11 09:56:31][ERROR][ApplicationContext] StandardWrapper.Throwable
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loginController' defined in ServletContext resource [/WEB-INF/footprint-servlet.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [com.footprint.form.LoginForm] to required type [java.lang.Class] for property 'commandClass'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [com.footprint.form.LoginForm] to required type [java.lang.Class] for property 'commandClass': no matching editors or conversion strategy found
Caused by:
org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessException details (1) are:
PropertyAccessException 1:
org.springframework.beans.TypeMismatchException: Failed to convert property value of type [com.footprint.form.LoginForm] to required type [java.lang.Class] for property 'commandClass'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [com.footprint.form.LoginForm] to required type [java.lang.Class] for property 'commandClass': no matching editors or conversion strategy found
Caused by:
java.lang.IllegalArgumentException: Cannot convert value of type [com.footprint.form.LoginForm] to required type [java.lang.Class] for property 'commandClass': no matching editors or conversion strategy found
at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:231)
at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:138)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:815)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:645)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:78)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:59)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1126)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:733)
at org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler(AbstractUrlHandlerMapping.java:256)
at org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandlers(SimpleUrlHandlerMapping.java:125)
at org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.initApplicationContext(SimpleUrlHandlerMapping.java:103)
at org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:73)
at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:72)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:301)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1167)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:331)
at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:265)
at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:235)
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3025)
at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:432)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1278)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)
at java.lang.Thread.run(Thread.java:595)
[2007/07/11 09:56:31][ERROR][StandardContext] サーブレット /footprint070707 がload()例外を投げました
org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessException details (1) are:
PropertyAccessException 1:
org.springframework.beans.TypeMismatchException: Failed to convert property value of type [com.footprint.form.LoginForm] to required type [java.lang.Class] for property 'commandClass'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [com.footprint.form.LoginForm] to required type [java.lang.Class] for property 'commandClass': no matching editors or conversion strategy found
Caused by:
java.lang.IllegalArgumentException: Cannot convert value of type [com.footprint.form.LoginForm] to required type [java.lang.Class] for property 'commandClass': no matching editors or conversion strategy found
at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:231)
at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:138)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:815)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:645)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:78)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:59)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1126)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:733)
at org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler(AbstractUrlHandlerMapping.java:256)
at org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandlers(SimpleUrlHandlerMapping.java:125)
at org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.initApplicationContext(SimpleUrlHandlerMapping.java:103)
at org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:73)
at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:72)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:301)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1167)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:331)
at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:265)
at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:235)
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3025)
at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:432)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1278)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)
at java.lang.Thread.run(Thread.java:595)
2007-07-11 20:18 : footprint : コメント : 0 : トラックバック : 0 :

構成

==error=============
org.apache.jasper.JasperException: /WEB-INF/jsp/login.jsp(4,0) 絶対URI: http: //java.sun.com/jsp/jstl/core はweb.xmlとこのアプリケーションを配備したJARファイルのどちらかでも解決できません

==reason=============
クラスパスにjstlのライブラリがない。

==solution===========
WEB-INF/lib

jstl.jar
standard.jar
を入れる。
2007-07-09 22:45 : footprint : コメント : 0 : トラックバック : 0 :
ホーム

search

ad



counter


tag cloud

category cloud