SpringBoot7 ajax ajax사용하기 위해선 jquery 스크립 적어주기.. 얘 안적어서 데이터 안나온다고 며칠 끙끙 거림ㅜ ajax 기본 양식 data:{}에서 int는 recipeSeq:$("#recipeSeq").val() String은 "recipeName":"recipeName" serialize() data : $("#data").serialize() : 데이터를 묶어서 한번에 전달 data : { "animal" : animal , "food" : food , "merchandise" : merchandise } : serialize사용 안할시 다 적어줘야함 데이터 넣기 https://mchch.tistory.com/85 시퀀스 파라미터 가져오기! 시퀀스를 통해서 데이터를 가져올 경우 주소 끝에 시퀀스가 나온다... 2022. 4. 12. [SpringBoot] SpringToolSuite 1. pom.xml !추가 ... org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter-tomcat com.fasterxml.jackson.core jackson-core 2.10.1 com.fasterxml.jackson.core jackson-databind 2.10.1 org.springframework.boot spring-boot-starter-jdbc org.mybatis.spring.boot mybatis-spring-boot-starter 2.2.0 org.mybatis mybatis-spring 2.0.6 org.mybatis mybatis 3.5.9 com.oracle.da.. 2022. 3. 23. [SpringBoot] Android(Member) 1. build.gradle (! 추가) 추가! plugins{ ... ! id 'kotlin-kapt' ! id 'kotlin-android-extensions' } android { defaultConfig { ... ! multiDexEnabled true } } dependencies { ! implementation 'com.squareup.retrofit2:retrofit:2.9.0' // Retrofit 라이브러리 ! implementation 'com.squareup.retrofit2:converter-gson:2.9.0' // Gson 변환기 라이브러리 ! implementation 'com.github.bumptech.glide:compiler:4.11.0' ! implementatio.. 2022. 3. 20. [SpringBoot] Android !Retrofit! 1. build.gradle 추가! plugins{ ... ! id 'kotlin-kapt' ! id 'kotlin-android-extensions' } android { defaultConfig { ... ! multiDexEnabled true } } dependencies { ! implementation 'com.squareup.retrofit2:retrofit:2.9.0' // Retrofit 라이브러리 ! implementation 'com.squareup.retrofit2:converter-gson:2.9.0' // Gson 변환기 라이브러리 ! implementation 'com.github.bumptech.glide:compiler:4.11.0' ! implementation "com... 2022. 3. 20. [SpringBoot] 게시판 2022. 2. 28. [SpringBoot] Front accout.html 회원가입 아이디 중복확인 사용아이디 패스워드 이름 이메일 회원가입 2022. 2. 23. [Springboot] DatabaseConfig.java @Configuration public class DatabaseConfig { @Bean public SqlSessionFactory sqlSessionFactory(DataSource dataSource) throws Exception { System.out.println("DatabaseConfig sqlSessionFactory"); SqlSessionFactoryBean sqlSessionFactoryBean = new SqlSessionFactoryBean(); sqlSessionFactoryBean.setDataSource(dataSource); Resource arrResource[] = new PathMatchingResourcePatternResolv.. 2022. 2. 21. 이전 1 다음