Skip to content

eclipse-jsp 인코딩 / 톰캣 설치 / 폴더 만들기  #1

@Jiyeong-github

Description

@Jiyeong-github

window preferences - enc 치고 content type에서 css, javascript, java source, jsp UTF-8로 apply,
workspace를 othere에서 UTF-8로 바꾸고 apply and close 인코딩 설정 끝

apache tomcat 9버전 깔기 (10버전은 나온 지 얼마 안 되어서 권장 x)
windows 64비트 zip으로 깔면 된다

tomcat>config>server.xml>connector port="8080"을 "8090"으로 변경
그 밑에 rediretPort 옆 URIEncoding="UTF-8"로 변경 후 저장

eclipse에서 servers에서 apache tomcat 9 선택 후 directory>tomcat 9 어쩌고 폴더 지정해주기

file>new>dynamic web project 로 프로젝트 생성해주기
폴더 내 webbapp 폴더는 root 폴더

apache tomcat 안 보이면 build path - project facets - java(1.8 변경) - runtime(tomcat으로 변경) apply&close
add library에서 server runtime - tomcat apply&close

tomcat에서 add&remove - first을 실행할 수 있도록 add
실행 시 start를 누르면 된다

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions