신입 프로그래머를 위한 실전 JSP 강좌

신입 프로그래머를 위한 실전 JSP 강좌

(84개의 수강평)

10195명의 수강생

무료

Seoul Wiz
평생
초급
31개 수업, 총 14시간 39분
Ck Choi 프로필

Class.forName(driver); Ck Choi 8일 전

앞서 DriverManager, Connection, Statement, ResultSet의 개념들은 이해가 잘 됐습니다.

 

그런데 항상 선행되는 Class.forName(driver);는 뭔지 궁금합니다.

0
조태준 프로필

14분 부분에 Servlet 최초 실행할 때, 오류가 납니다. 조태준 2달 전

Mar 04, 2019 4:03:54 PM org.apache.catalina.startup.VersionLoggerListener log

정보: 서버 버전 이름: Apache Tomcat/9.0.16

Mar 04, 2019 4:03:54 PM org.apache.catalina.startup.VersionLoggerListener log

정보: Server 빌드 시각: Feb 4 2019 16:30:29 UTC

Mar 04, 2019 4:03:54 PM org.apache.catalina.startup.VersionLoggerListener log

정보: Server 버전 번호: 9.0.16.0

Mar 04, 2019 4:03:54 PM org.apache.catalina.startup.VersionLoggerListener log

정보: 운영체제 이름: Windows 10

Mar 04, 2019 4:03:54 PM org.apache.catalina.startup.VersionLoggerListener log

정보: 운영체제 버전: 10.0

Mar 04, 2019 4:03:54 PM org.apache.catalina.startup.VersionLoggerListener log

정보: 아키텍처: amd64

Mar 04, 2019 4:03:54 PM org.apache.catalina.startup.VersionLoggerListener log

정보: 자바 홈: C:Program FilesJavajre1.8.0_171

Mar 04, 2019 4:03:54 PM org.apache.catalina.startup.VersionLoggerListener log

정보: JVM 버전: 1.8.0_171-b11

Mar 04, 2019 4:03:54 PM org.apache.catalina.startup.VersionLoggerListener log

정보: JVM 벤더: Oracle Corporation

Mar 04, 2019 4:03:54 PM org.apache.catalina.startup.VersionLoggerListener log

정보: CATALINA_BASE: D:Tomcat 9.0

Mar 04, 2019 4:03:54 PM org.apache.catalina.startup.VersionLoggerListener log

정보: CATALINA_HOME: D:Tomcat 9.0

Mar 04, 2019 4:03:54 PM org.apache.catalina.startup.VersionLoggerListener log

정보: 명령 행 아규먼트: -Dcatalina.base=D:Tomcat 9.0

Mar 04, 2019 4:03:54 PM org.apache.catalina.startup.VersionLoggerListener log

정보: 명령 행 아규먼트: -Dcatalina.home=D:Tomcat 9.0

Mar 04, 2019 4:03:54 PM org.apache.catalina.startup.VersionLoggerListener log

정보: 명령 행 아규먼트: -Dwtp.deploy=D:Tomcat 9.0wtpwebapps

Mar 04, 2019 4:03:54 PM org.apache.catalina.startup.VersionLoggerListener log

정보: 명령 행 아규먼트: -Djava.endorsed.dirs=D:Tomcat 9.0endorsed

Mar 04, 2019 4:03:54 PM org.apache.catalina.startup.VersionLoggerListener log

정보: 명령 행 아규먼트: -Dfile.encoding=MS949

Mar 04, 2019 4:03:54 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent

정보: 프로덕션 환경들에서 최적의 성능을 제공하는, APR 기반 Apache Tomcat Native 라이브러리가, 다음 java.library.path에서 발견되지 않습니다: [C:Program FilesJavajre1.8.0_171bin;C:WINDOWSSunJavabin;C:WINDOWSsystem32;C:WINDOWS;C:/Program Files/Java/jre1.8.0_171/bin/server;C:/Program Files/Java/jre1.8.0_171/bin;C:/Program Files/Java/jre1.8.0_171/lib/amd64;C:Program Files (x86)InteliCLS Client;C:ProgramDataOracleJavajavapath;C:Program FilesInteliCLS Client;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:Program Files (x86)NVIDIA CorporationPhysXCommon;C:Program FilesJavajdk-9.0.4bin;C:UsersTaejun JoAppDataLocalAndroidSdkplatform-tools;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:WINDOWSSystem32WindowsPowerShellv1.0;C:Program Files (x86)IntelIntel(R) Management Engine ComponentsDAL;C:Program FilesIntelIntel(R) Management Engine ComponentsDAL;C:Program Files (x86)IntelIntel(R) Management Engine ComponentsIPT;C:Program FilesIntelIntel(R) Management Engine ComponentsIPT;C:WINDOWSSystem32OpenSSH;C:Program FilesIntelWiFibin;C:Program FilesCommon FilesIntelWirelessCommon;C:Program FilesNVIDIA CorporationNVIDIA NvDLISR;C:UsersTaejun JoAppDataLocalMicrosoftWindowsApps;C:Program FilesIntelWiFibin;C:Program FilesCommon FilesIntelWirelessCommon;C:UsersTaejun JoDesktop;;.]

Mar 04, 2019 4:03:54 PM org.apache.coyote.AbstractProtocol init

정보: 프로토콜 핸들러 ["http-nio-8181"]을(를) 초기화합니다.

Mar 04, 2019 4:03:54 PM org.apache.coyote.AbstractProtocol init

정보: 프로토콜 핸들러 ["ajp-nio-8009"]을(를) 초기화합니다.

Mar 04, 2019 4:03:54 PM org.apache.catalina.startup.Catalina load

정보: [953] 밀리초 내에 서버가 초기화되었습니다.

Mar 04, 2019 4:03:55 PM org.apache.catalina.core.StandardService startInternal

정보: 서비스 [Catalina]을(를) 시작합니다.

Mar 04, 2019 4:03:55 PM org.apache.catalina.core.StandardEngine startInternal

정보: 서버 엔진을 시작합니다: [Apache Tomcat/9.0.16]

Mar 04, 2019 4:03:55 PM org.apache.catalina.startup.HostConfig deployDescriptor

정보: 배치 descriptor [D:Tomcat 9.0confCatalinalocalhostHelloWorld.xml]을(를) 배치합니다.

Mar 04, 2019 4:03:55 PM org.apache.catalina.startup.HostConfig deployDescriptor

경고: 배치 descriptor [D:Tomcat 9.0confCatalinalocalhostHelloWorld.xml] 내에서, [/HelloWorld] 값을 가진 path 속성은 무시됩니다.

Mar 04, 2019 4:03:55 PM org.apache.catalina.startup.HostConfig deployDescriptor

심각: 배치 descriptor [D:Tomcat 9.0confCatalinalocalhostHelloWorld.xml]을(를) 배치하는 중 오류 발생

java.lang.IllegalStateException: 자식 컨테이너를 시작하는 중 오류 발생

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:716)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)

at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:631)

at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1832)

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)

at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)

at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:526)

at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:425)

at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1577)

at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)

at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)

at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)

at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)

at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:929)

at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)

at java.util.concurrent.FutureTask.run(Unknown Source)

at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)

at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)

at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902)

at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:928)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

at org.apache.catalina.startup.Catalina.start(Catalina.java:638)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)

Caused by: org.apache.catalina.LifecycleException: 구성요소 [org.apache.catalina.webresources.StandardRoot@44c8afef]을(를) 시작하지 못했습니다.

at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:441)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)

at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4783)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4918)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713)

... 37 more

Caused by: java.lang.IllegalArgumentException: 지정된 주요 리소스셋 [D:Tomcat 9.0wtpwebappsHelloWorld]은(는) 유효하지 않습니다.

at org.apache.catalina.webresources.StandardRoot.createMainResourceSet(StandardRoot.java:749)

at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:706)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

... 41 more

Mar 04, 2019 4:03:55 PM org.apache.catalina.startup.HostConfig deployDescriptor

정보: 배치 descriptor [D:Tomcat 9.0confCatalinalocalhostHelloWorld.xml]의 배치가 [58] 밀리초 내에 완료되었습니다.

Mar 04, 2019 4:03:55 PM org.apache.catalina.startup.HostConfig deployDirectory

정보: 웹 애플리케이션 디렉토리 [D:Tomcat 9.0webappsdocs]을(를) 배치합니다.

Mar 04, 2019 4:03:55 PM org.apache.catalina.startup.HostConfig deployDirectory

정보: 웹 애플리케이션 디렉토리 [D:Tomcat 9.0webappsdocs]에 대한 배치가 [220] 밀리초에 완료되었습니다.

Mar 04, 2019 4:03:55 PM org.apache.catalina.startup.HostConfig deployDirectory

정보: 웹 애플리케이션 디렉토리 [D:Tomcat 9.0webappsmanager]을(를) 배치합니다.

Mar 04, 2019 4:03:55 PM org.apache.catalina.startup.HostConfig deployDirectory

정보: 웹 애플리케이션 디렉토리 [D:Tomcat 9.0webappsmanager]에 대한 배치가 [34] 밀리초에 완료되었습니다.

Mar 04, 2019 4:03:55 PM org.apache.catalina.startup.HostConfig deployDirectory

정보: 웹 애플리케이션 디렉토리 [D:Tomcat 9.0webappsROOT]을(를) 배치합니다.

Mar 04, 2019 4:03:55 PM org.apache.catalina.startup.HostConfig deployDirectory

정보: 웹 애플리케이션 디렉토리 [D:Tomcat 9.0webappsROOT]에 대한 배치가 [16] 밀리초에 완료되었습니다.

Mar 04, 2019 4:03:55 PM org.apache.coyote.AbstractProtocol start

정보: 프로토콜 핸들러 ["http-nio-8181"]을(를) 시작합니다.

Mar 04, 2019 4:03:55 PM org.apache.coyote.AbstractProtocol start

정보: 프로토콜 핸들러 ["ajp-nio-8009"]을(를) 시작합니다.

Mar 04, 2019 4:03:55 PM org.apache.catalina.startup.Catalina start

정보: 서버가 [379] 밀리초 내에 시작되었습니다.

0
김봉기 프로필

db 연동 에러 김봉기 3달 전

강의는 잘 듣고 있습니다. 디비 연동전 까지의 실습은 아무 문제없이 잘 진행되고 있습니다.

디비 연동 부분부터 실습이 안되는데 문제는 디비 연결인거 같습니다.

선생님께서 하라고 하는대로 하였는데 디비 연결이 계속 안되에요. ping 테스트를 해도 실패가 되는데 무엇이 문제인지 모르겠네요

도움 부탁드립니다.

0
반가우면반갑다고해 프로필

질문있습니다 반가우면반갑다고해 4달 전

BReplyCommand클래스 에있는

String bId = request.getParameter("bId");

String bName = request.getParameter("bName");

String bTitle = request.getParameter("bTitle");

String bContent = request.getParameter("bContent");

String bGroup = request.getParameter("bGroup");

String bStep = request.getParameter("bStep");

String bIndent = request.getParameter("bIndent");

    이 변수들 request.get으로 받아온거인데 

그러면 set은 어디에 있을까요?

0
Robert Eric 프로필

15:05 Robert Eric 6달 전

0
김신원 프로필

강의내용중 17:05분 질문입니다. 김신원 7달 전

infoconfirm 이라는 메소드를 jsp 페이지에서 실행시키는데 왜 찾을떄 infoconfirm 이라는 메소드를 찾아놓고 메소드명이 다른 deleteinfoconfirm쪽메소드로 회원가입 내용이 들어가는지 이해가 되질 않네요 메소드명이 틀린데... 답변 꼭 부탁드리겠습니다.

0
gettt 프로필

modify.jsp gettt 7달 전

55: -

56: <input type="text" name="phone2" size="5" value=<%=phone2 %>> - <input type="text" name="phone3" size="5" value=<%=phone3 %>>

57: <%

58: if(gender.equals("man")) {

59: %>

60: 성별구분 : <input type="radio" name="gender" value="man" checked="checked">남  <input type="radio" name="gender" value="woman">여

61: <%

58번째 줄에서 에러가 있다고하는데 nullpointexception 에러인거같은데

위에러는 어떻게 해결해야하나요 ㅠㅠ

0
양정우 프로필

궁금한것이 여기서는 왜 서블릿의 doGet doPost 사용을 하지 않은것인가요? 양정우 7달 전

0
Suk Joon LEE 프로필

<%= %>와 EL의 JSTL에서 작동 차이 문의 Suk Joon LEE 8달 전

<c:catch var="error">

<c:set var="aa" value="<%=2/0 %>"/> <--- error message 보여줌

<c:set var="aa" value="${2/0}"/> <- error message 안 보여줌

</c:catch>

<c:out value="${error}"/>

EL로 산식이 들어가면 JSTL에서 사용하면 안되는지요>?

0
정도석 프로필

회원인증프로그래밍에서 받은 코드로 실습하는데 에러나네요 정도석 9달 전

회원가입화면에서 에러납니다.

에러코드

'''

javax.naming.NameNotFoundException: Name [jdbc/Oracle11g] is not bound in this Context. Unable to find [jdbc].

at org.apache.naming.NamingContext.lookup(NamingContext.java:825)

at org.apache.naming.NamingContext.lookup(NamingContext.java:159)

at org.apache.naming.NamingContext.lookup(NamingContext.java:836)

at org.apache.naming.NamingContext.lookup(NamingContext.java:159)

at org.apache.naming.NamingContext.lookup(NamingContext.java:836)

at org.apache.naming.NamingContext.lookup(NamingContext.java:173)

at org.apache.naming.SelectorContext.lookup(SelectorContext.java:156)

at javax.naming.InitialContext.lookup(Unknown Source)

at com.javalec.ex.MemberDao.getConnection(MemberDao.java:209)

at com.javalec.ex.MemberDao.confirmId(MemberDao.java:71)

at org.apache.jsp.joinOk_jsp._jspService(joinOk_jsp.java:104)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:1025)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1136)

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)

at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Unknown Source)

java.lang.NullPointerException

at com.javalec.ex.MemberDao.confirmId(MemberDao.java:72)

at org.apache.jsp.joinOk_jsp._jspService(joinOk_jsp.java:104)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:1025)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1136)

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)

at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Unknown Source)

java.lang.NullPointerException

at com.javalec.ex.MemberDao.confirmId(MemberDao.java:84)

at org.apache.jsp.joinOk_jsp._jspService(joinOk_jsp.java:104)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:1025)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1136)

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)

at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Unknown Source)

javax.naming.NameNotFoundException: Name [jdbc/Oracle11g] is not bound in this Context. Unable to find [jdbc].

at org.apache.naming.NamingContext.lookup(NamingContext.java:825)

at org.apache.naming.NamingContext.lookup(NamingContext.java:159)

at org.apache.naming.NamingContext.lookup(NamingContext.java:836)

at org.apache.naming.NamingContext.lookup(NamingContext.java:159)

at org.apache.naming.NamingContext.lookup(NamingContext.java:836)

at org.apache.naming.NamingContext.lookup(NamingContext.java:173)

at org.apache.naming.SelectorContext.lookup(SelectorContext.java:156)

at javax.naming.InitialContext.lookup(Unknown Source)

at com.javalec.ex.MemberDao.getConnection(MemberDao.java:209)

at com.javalec.ex.MemberDao.insertMember(MemberDao.java:38)

at org.apache.jsp.joinOk_jsp._jspService(joinOk_jsp.java:113)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:1025)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1136)

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)

at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Unknown Source)

java.lang.NullPointerException

at com.javalec.ex.MemberDao.insertMember(MemberDao.java:39)

at org.apache.jsp.joinOk_jsp._jspService(joinOk_jsp.java:113)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:1025)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1136)

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)

at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Unknown Source)

'''

1
스피릿 프로필

신입 프로그래머를 위한 실전 JSP 강좌 학습자료는 어디서 다운 받나요? 스피릿 10달 전

신입 프로그래머를 위한 실전 JSP 강좌 수업을 듣는데 학습자료를 다운 받을 수 있을까요?

강의에서는 여러분도 import해서 보라고 하는데 어디서 다운을 받는지 알수가 없네요..

다운 방법 알려주세요 :)

0
스피릿 프로필

신입 프로그래머를 위한 실전 JSP 강좌 학습자료는 어디서 다운 받나요? 스피릿 10달 전

강의에선 import해서 확인해보라고 말씀하시는데 자료를 어디에서 다운받는지 모르겠어요

이 수업은 자료 제공이 안되는 건가요?

0
Jihoon Jeong 프로필

잘들었습니다~! Jihoon Jeong 2018.04.25

이번 강의부터 타블렛을 쓰시기 시작한듯요~! 훨씬 보기 좋습니다.

0
Jihoon Jeong 프로필

ServletListener 클래스 생성시 오버라이드 생성 안되는 현상 Jihoon Jeong 11달 전

강사님께서 올려주신 동영상에는 클래스 생성시에 오버라이드가 자동적으로 함께 생성되는데 제가 할때는 안되네요 ㅠㅠ

조금 다른 개발환경이라 그런걸까요?

jdk 1.8.0_171

tomcat 9.0.7

Eclipse Oxygen.3a 사용중입니다.

(처음 자바 10 깔아쓸 때에는 톰캣조차 안되어 한참 삽질도 했었어요;)

1