728x90
반응형

Controller -> JSP 데이터 전달

 

1. Model 클래스 활용

 

In Controller

 

public String function(Model model){

             model.addAttribute("test", "myTest");

             return "view"

}

 

In JSP

 

<body>

     test : ${test}       <!-- "test : myTest" -->

</body>

 

2. ModelAndView 클래스 활용

 

In Controller

 

public ModelAndView function(){

             ModelAndView mv = new ModelAndView();

             mv.addObject("test", "myTest");

             mv.setViewName("view");

 

             return mv

}

 

In JSP

 

<body>

     test : ${test}       <!-- "test : myTest" -->

</body>

728x90
반응형

'Java' 카테고리의 다른 글

[Spring Boot] Eclipse 내 Lombok 설치  (0) 2019.07.05
[Spring Boot] 개발 환경 세팅  (2) 2019.07.05
[Spring] JUnit 적용하기  (0) 2018.10.23
[spring] Spring Security 커스터마이징  (0) 2018.10.18
[Spring] Spring Security 적용  (0) 2018.10.17
728x90
반응형

Failure to transfer commons-cli:commons-cli:pom:1.0 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact commons-cli:commons-cli:pom:1.0 from/to central (http://repo.maven.apache.org/maven2): Failed to create a selector. to http://repo.maven.apache.org/maven2/commons-cli/commons-cli/1.0/commons-cli-1.0.pom

 

1. .m2/repository 폴더를 삭제 후 ( default User/.m2 )

2. STS 프로젝트 우클릭 > Maven > Update Project... > Force update of Snapshots/Releases 

 

728x90
반응형
728x90
반응형

작성일시 : 2019.06.23

 

이클립스 실행이 안되는 상황 발생

 

 

런처가 없다하여 해당 경로 확인

 

 

Plugin 내 jar 파일들이 전부 KMFJTXCUM 파일로 되어있는 것을 확인

KMFJTXCUM은 랜섬웨어 확장자 중 하나

 

 

사진 내 readme 파일

 

 

왜 특정 드라이브만 암호화 된건지 의문

다행히 개발용으로 사용하는 드라이브라 개발환경만 다시 세팅했고, 폴더공유 방화벽 설정과 net share해서 나오는 공유 삭제 조치

 

 

---

 

사진 내 내용 원문

 

 ALL YOUR DOCUMENTS PHOTOS DATABASES AND OTHER IMPORTANT FILES HAVE BEEN ENCRYPTED!
 ====================================================================================================
 Your files are NOT damaged! Your files are modified only. This modification is reversible.

 The only 1 way to decrypt your files is to receive the private key and decryption program.

 Any attempts to restore your files with the third party software will be fatal for your files!
 ====================================================================================================
 To receive the private key and decryption program follow the instructions below:

 1. Download "Tor Browser" from https://www.torproject.org/ and install it.

 2. In the "Tor Browser" open your personal page here:


 http://7478a440f6f0c6a0kmfjtxcum.tmw2mb37epapjbfm.onion/kmfjtxcum


 Note! This page is available via "Tor Browser" only.
 ====================================================================================================
 Also you can use temporary addresses on your personal page without using "Tor Browser":


 http://7478a440f6f0c6a0kmfjtxcum.refits.top/kmfjtxcum

 http://7478a440f6f0c6a0kmfjtxcum.howthat.top/kmfjtxcum

 http://7478a440f6f0c6a0kmfjtxcum.sendown.icu/kmfjtxcum

 http://7478a440f6f0c6a0kmfjtxcum.astopic.icu/kmfjtxcum


 Note! These are temporary addresses! They will be available for a limited amount of time!

728x90
반응형

'일기' 카테고리의 다른 글

sqld 후기  (0) 2021.01.01
1901 리눅스 마스터 1급 후기  (4) 2019.06.08

+ Recent posts