전체 글(845)
-
Http 통신하기 Apache HttpClient 사용
pom.xml org.apache.httpcomponents.client5 httpclient5 5.1GET 방식import org.apache.hc.client5.http.classic.methods.HttpGet;import org.apache.hc.client5.http.classic.methods.CloseableHttpResponse;import org.apache.hc.client5.http.impl.classic.CloseableHttpClient;import org.apache.hc.client5.http.impl.classic.HttpClients;import org.apache.hc.core5.http.io.entity.EntityUtils;public class HttpClientEx..
2024.10.19 -
Python import 하기
하위 디렉토리의 파일 import# 하위 디렉토리 파일: ./qr/qrcode.pyfrom qr import qrcodeimport한 패키지명 간단하게 하기# import할 패키지명 abcdeffrom abcdef import abc
2024.10.19 -
Sencha form에 image 추가
다른 field처럼 image를 넣으면 됨기본적으로 Label은 없음Ext.create('Ext.form.Panel', { title: 'Image Display and Upload Form', width: 400, bodyPadding: 10, renderTo: Ext.getBody(), items: [ { xtype: 'image', src: 'path/to/default-image.jpg', // Replace with default or dynamic image URL alt: 'No image available', width: 200, height: 200, ..
2024.10.19 -
Spring boot mapping 설정
Class 차원에서 mapping 설정@RestController@RequestMapping("/image")public class ImageController extends HttpServlet {Method 차원에서 mapping 설정@RequestMapping("/one")public Member getOne(String test) {// GET 방식@GetMapping("/one")public void getOne(String test) {// POST 방식@PostMapping("/one")public void getOne(String test) {
2024.10.01 -
Style Sheet mouse cursor
Setting
2024.10.01 -
Sencha panel title click시, 화면 refresh하기
{ xtype: 'panel', width: leftWidth, bodyStyle: 'background-color:black', html: ' Home', listeners: { click: { element: 'el', fn: function() { window.location.reload(); } } }},
2024.10.01