반응형
보통 메인화면을 index.html 또는 index.jsp 구성을 한다.
<주요 작성 폴더 위치>
webcontetnt-source => jsp 파일
webcontent-web-inf =lib =>jar파일(배포파일 위치)
java resources-src 부분에 작업을 함 => java파일
<jsp장점>
코드가 쉽게 오픈되어지지 않는다
java코드를 작성 할 수 있다
<소스보기 공백제거>
trimDirectiveWhitespaces="true"
: 소스보기의 상단 빈칸 제거
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8" trimDirectiveWhitespaces="true"%>
반응형
'jsp' 카테고리의 다른 글
jsp_내장객체 (application) (0) | 2022.11.23 |
---|---|
jsp_내장객체(response) (0) | 2022.11.23 |
jsp_내장객체(request) get,post (0) | 2022.11.22 |
jsp_스크립트 요소 (0) | 2022.11.22 |
jsp_지시어 (0) | 2022.11.22 |