다양한 Exception 처리 실습 (JSP 이용, NumberFormatException, ArithmeticException, IndexOutOfBoundException 등) - 전체 소스코드 포함
- 최초 등록일
- 2019.04.10
- 최종 저작일
- 2013.11
- 11페이지/ 압축파일
- 가격 1,500원
소개글
JSP를 이용하여 다양한 예외(Exception) 처리 방식을 공부한 내용입니다.
NumberFormatException, ArithmeticException, IndexOutOfBoundException 등 다양한 exception에 대한 각각의 코드, 해결 방안 및 실행 결과 캡쳐 이미지가 모두 포함되어 있습니다.
목차
1. NumberFormatException
2. ArithmeticException
3. IndexOutOfBoundException
4. NegativeArraySizeException
5. NullPointerException
본문내용
<first_error.jsp>
<%@ page language="java" contentType="text/html; charset=EUC-KR"
pageEncoding="EUC-KR" isErrorPage="true"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<% response.setStatus(200); %>
<center>
<H2>NumberFormatException</H2>
<HR>
<table>
<tr width=100% ><td>
<center>
잘못된 입력이 들어왔습니다.
</center>
<HR>
<center>
<%= exception.getMessage() %>
</center>
<HR>
</td>
</tr>
</table>
</center>
참고 자료
없음
압축파일 내 파일목록
HW2.docx
소스 코드/
소스 코드/fifth.html
소스 코드/fifth.jsp
소스 코드/fifth_error.jsp
소스 코드/first.html
소스 코드/first.jsp
소스 코드/first_error.jsp
소스 코드/fourth.html
소스 코드/fourth.jsp
소스 코드/fourth_error.jsp
소스 코드/second.html
소스 코드/second.jsp
소스 코드/second_error.jsp
소스 코드/third.html
소스 코드/third.jsp
소스 코드/third_error.jsp
실행 화면 캡ì³/
실행 화면 캡ì³/fifth_1.JPG
실행 화면 캡ì³/fifth_2.JPG
실행 화면 캡ì³/first_1.JPG
실행 화면 캡ì³/first_2.JPG
실행 화면 캡ì³/fourth_1.JPG
실행 화면 캡ì³/fourth_2.JPG
실행 화면 캡ì³/second_1.JPG
실행 화면 캡ì³/second_2.JPG
실행 화면 캡ì³/third_1.JPG
실행 화면 캡ì³/third_2.JPG