This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Bean | |
public class RssBean { | |
private String title; | |
private String description; | |
private String link; | |
public String getTitle() { | |
return title; | |
} | |
public void setTitle(String title) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@RequestMapping(value="/member/insert", method=RequestMethod.GET) | |
@RequestMapping(value="/member/insert", method=RequestMethod.POST) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<bean class="org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping"> | |
<property name="interceptors"> | |
<list> | |
<ref bean="sessionInterceptor" /> | |
</list> | |
</property> | |
</bean> | |
<bean id="sessionInterceptor" class="" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 카카오톡이 설치되어 있는지 확인 | |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.main); | |
try { | |
this.getPackageManager().getPackageInfo("com.kakao.talk", PackageManager.GET_ACTIVITIES); | |
} catch (NameNotFoundException e) { | |
e.printStackTrace(); | |
ToastUtil.showShotToast(this, "없음"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var selection_text = document.selection.createRange().text; | |
alert(selection_text); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 전화번호를 검색하여 받아온다. | |
var telNo = ''; | |
$.ajax({ | |
url : '', | |
data : {}, | |
type : 'post', | |
sendDataType : 'json', | |
success : function(data) { | |
telNo = data; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 전화번호를 검색하여 받아온다. | |
var telNo = ''; | |
$.ajax({ | |
url : '', | |
data : {}, | |
type : 'post', | |
sendDataType : 'json', | |
async : false, | |
success : function(data) { | |
telNo = data; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
<!DOCTYPE html> | |
<html lang="ko"> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>www.springcome.me</title> | |
<head> | |
<link rel="stylesheet" type="text/css" href="/resources/css/maxmertkit.css"> | |
<link rel="stylesheet" type="text/css" href="/resources/css/maxmertkit-animation.css"> | |
<link rel="stylesheet" type="text/css" href="/resources/css/maxmertkit-components.css"> | |
</head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class EmailValidatorSample { | |
private Canvas drawForm() { | |
TextItem email = new TextItem("email"); | |
email.setWidth("*"); | |
email.setValidators(emailValidator()); | |
} | |
private RegExpValidator emailValidator() { | |
return new RegExpValidator("^([a-zA-Z0-9_.\\-+])+@(([a-zA-Z0-9\\-])+\\.)+[a-zA-Z0-9]{2,4}$"); |