고객서비스에 ‘100x0=0, 100-1=0’이라는 공식이 있다.
고객이 여러 번의 결정적 순간에서 단 한명에게 0점의 서비스를 받는다면
모든 서비스는 0이 되어버린다는 것이다.
또 100명의 고객을 만족시킨다 하더라도 한명이 고객을 불편하게 만들면
그 고객은 떠나버린다는 것이다.
고객을 만나는 접점에 있는 한 사람 한 사람의 역할이
얼마나 중요한가를 단적으로 보여주는 공식이다.

- 문충태 저, ‘고객졸도서비스’에서


고객을 만나는 순간순간이 결정적 순간(moment of truth)입니다.
어느 한 부분에서만이라도 고객을 불편하게 만들면 고객감동은 0이 되어버립니다.

경쟁 기업간 기술의 차이, 품질의 차이는 점점 더 좁혀지고 있습니다.
이제는 전 산업 분야에서 고객을 직접 접하는 직원들의 친절한 서비스가
핵심 경쟁우위의 원천으로 부상하고 있습니다.
모든 것이 사람에 달려있습니다.
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기

Posted by 홍반장

2009/10/08 09:02 2009/10/08 09:02
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/4697

미워하기에는 너무 짧다

절대 내놓지 못하겠다며
움켜쥐고 있는 것은 없을까?
절대 용서할 수 없다며 미워하는 사람은 없을까?
절대 질 수 없다며 질투하고 경쟁하는 대상은 없을까?
한여름밤에 꾸는 짧은 꿈일지도 모르는 생.
미워하기에는 너무 짧다. 욕심만 채우며
질투하고 경쟁만 하며 살기에는
너무 짧다.


- 송정림의《명작에게 길을 묻다》중에서 -


* 살면서 어찌 미움이 없겠습니까.
문제는 정작 사랑해야 할 대상을 미워하는 것입니다.
미움은, 상대는 물론 자신의 몸과 마음과 영혼까지를
통째로 병들게 하는 무서운 독성 바이러스입니다.
우리의 삶, 미워하기에는 너무 짧고
사랑하기에는 더욱 짧습니다.
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기

Posted by 홍반장

2009/10/08 09:01 2009/10/08 09:01
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/4696

jsp - session

<%@ page contentType="text/html;charset=utf-8" %>

<html>
<head>
<title>Cookie Counter. ver Session</title>
</head>
<body>

<h4>Welcome to my blog</h4>
<%
// getAttribue()는 object형을 반환
// wrapper클래스의 사용이 필요.
Integer number = (Integer)session.getAttribute("counter");

if(number==null) { number = new Integer(1); }
else { number = new Integer(number.intValue()+1); }

// 세션의 저장.
session.setAttribute("counter", number);
%>

<p>Count Today : <%= number %></p>

</body>
</html>
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기

Posted by 홍반장

2009/10/07 17:18 2009/10/07 17:18
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/4695

<%@ page
language="java"
contentType="text/html; charset=EUC-KR"
pageEncoding="EUC-KR"%>
<%@ page import="java.net.URLEncoder" %>
<%@page import="java.net.URLDecoder"%>
<html>
<body>

<font face=Arial>

<b><u>Implicit Object - Request</u></b><br>

<br>
<u>매개 변수</u>
<br>

<form method=POST action="?" >
ID : <br>
<input type=text size=20 name=ID value=""><br>
Name : <br>
<input type=text size=20 name=NAME value=""><br>
Language :<br>
<input type=checkbox name=L value=JSP> JSP
<input type=checkbox name=L value=Perl> Perl
<input type=checkbox name=L value=PHP> PHP
<br>
<input type=submit value="확인">
</form>

<%
try{
for (java.util.Enumeration e = request.getParameterNames() ; e.hasMoreElements() ;) {

String name = e.nextElement().toString();

out.println(name + ":"+request.getParameter(name)+"<br>");

}



String lan[] = request.getParameterValues("L");

for(int i = 0;i < lan.length;i++){
if( i < lan.length-1 ) out.println(lan[i]+";");
else out.println(lan[i]+"<br>");

}
}catch(Exception e){
out.println("아직 파라미터를 전송받지 못했습니다.");
}
%>

</font>


<br>
<hr>
<br>
<br>

<font face=Arial>

<b><u>Implicit Object - Request ( Cookie Setting )</u></b><br>
<%
try{

String Nom = URLEncoder.encode("홍완이");

Cookie c1 = new Cookie("ID","ngio");
Cookie c2 = new Cookie("NAME",Nom);
response.addCookie(c1);
response.addCookie(c2);

Cookie[] cookies = request.getCookies(); // 쿠키 배열에 쿠키값 가져오기

out.println( cookies.length + " 개의 쿠키가 존재합니다.<br><br>");

for( int i = 0; i < cookies.length; i++ ){

Cookie thisCookie = cookies[i];
out.println(thisCookie.getName() + " => " );
out.println(URLDecoder.decode(thisCookie.getValue(),"euc-kr") + "<br>" );
}


}catch(Exception e){

out.println("쿠키가 생성되지 않았습니다.");

}

%>

</font>

<br>
<hr>
<br>
<br>
<u>환경 변수</u>
<br>
<%

out.println("Method : " + request.getMethod()+"<br>");

out.println("QueryString : " + request.getQueryString()+"<br>");

out.println("RemoteAddr : " + request.getRemoteAddr()+"<br>");

out.println("RequestURI : " + request.getRequestURI()+"<br>");

out.println("ServletPath : " + request.getServletPath()+"<br>");

out.println("ContentType : " + request.getContentType()+"<br>");

out.println("ContentLength : " + request.getContentLength()+"<br>");

out.println("CharacterEncoding : " + request.getCharacterEncoding()+"<br>");

%>


</body>

</html>
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기

Posted by 홍반장

2009/10/07 15:38 2009/10/07 15:38
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/4694

<%@ page contentType="text/html;charset=euc-kr" %>
<%! //--- ! 는 선언부이다.

/*
Scripting Elements는 JSP Page에 직접 코드를 끼워 넣을 수 있게 합니다.
JSP Scripting Elements는 세가지 타입( Declaration, Expression, Scriptlet ) 로 나눌 수 있습니다.
*/

int mathPoint[] = {30,50,80,20};


public double getAverage(){
double sum = 0;
for( int i = 0; i < mathPoint.length;i++){
sum += mathPoint[i];
}

return sum/mathPoint.length;
}


public double getBunsan(){
double sum = 0;
double average = getAverage();

for( int i = 0 ; i < mathPoint.length; i++){
sum += Math.pow((mathPoint[i] - average),2);
}
return sum/mathPoint.length;
}

public double getPyosun(){

return Math.sqrt(getBunsan());
}



%>
<html>

<body>

Declaration & Expression<p>



해당 점수에 대한 결과

평균 : <%=getAverage() %><br>

분산: <%=getBunsan() %><br>

표준편차 : <%=getPyosun() %><br>

</body>
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기

Posted by 홍반장

2009/10/07 15:35 2009/10/07 15:35
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/4693

계영배(戒盈杯)라는 술잔이 있다.
계영배에 술을 70% 이상 따르면 술이 전부 빠져나간다고 한다.
나는 인생도 계영배처럼 살아야 한다고 생각한다.
말하고 싶은 것의 70%만 말하고,
행동하고 싶은 것의 70%만 하는 것이 바람직하다.
갖고 싶은 것도 70%만 갖는 것으로 만족해야 한다.
과유불급(過猶不及)이라, 넘치는 것은 모자람만 못하다.

- 오명 건국대 총장, ‘30년 후의 코리아를 꿈꿔라’에서


‘넘치고 지나침을 경계하는 술잔’, 계영배는
원래 고대 중국에서 제천의식 때 사용하던 의기(儀器)였다고 합니다.
욕심과 자만심은 누르고,
내가 틀릴 수 있다는 생각으로 남의 말에 귀 기울이고,
남의 좋은 의견은 반영하되, 성공했을 경우 공은 나누는 그런 겸손을 가르치는
계영배의 의미를 되새겨 봅니다.
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기

Posted by 홍반장

2009/10/07 09:03 2009/10/07 09:03
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/4692

그녀의 이름은
'행복을 전하는 사람'이었고,
그녀가 가진 재능은 사람들에게 놀이를 제공하는 것이었다.
그날 저녁 그녀는 우리 모두가 함께 놀 수 있는
시간을 마련할 예정이었다. 그녀는 우리가
'창조놀이'를 하게 될 것이라고 말했다.


- 말로 모건의《무탄트 메시지》중에서 -


* '행복을 전하는 사람',
참 아름다운 이름입니다.
다른 사람들이 당신의 이름을 부를 때
'행복을 전하는 사람'의 이미지를 떠올린다면?
당신 또한 참 아름다운 사람의 하나일 게 분명합니다.
여기에 '창조놀이'까지 제공하는 사람이라면
당신은 진짜 '행복을 전하는 사람'입니다.
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기

Posted by 홍반장

2009/10/07 09:02 2009/10/07 09:02
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/4691

Array - 객체 배열

/*
* 객체 배열
* */
class Cat{
String name;
int age;
public Cat(String n, int a){
name = n;
age = a;
}
}

public class objectArrayTest {
public static void main(String args[]){
int i = 0;

Cat[] myCats = new Cat[5];

myCats[0] = new Cat("야옹이",2);
myCats[1] = new Cat("호동이",3);
myCats[2] = new Cat("고도리",4);
myCats[3] = new Cat("이쁜이",3);
myCats[4] = new Cat("똘똘이",2);

try{

while(i <= myCats.length ){
System.out.println(myCats[i].name +" - "+ myCats[i].age);
i++;
}

}catch(ArrayIndexOutOfBoundsException e){
System.out.println("index를 벗어나는 예외 발생.");
}catch(Exception e){
System.out.println("알 수 없는 예외 발생.");
}
}
}
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기

Posted by 홍반장

2009/10/06 23:34 2009/10/06 23:34
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/4690

ExceptionTest.java





import java.io.*;

//사용자 정의 예외클래스 만들기.
class MyException extends Exception{
public String msg=null;
public MyException(String msg){
this.msg = msg;
}
}

/**
* @author Administrator
*
*/
public class ExceptionTest {
public int myMath(int a, int b) throws MyException{
if(b==0){
MyException my = new MyException("숫자 0으로는 나눌수 없습니다.");
throw my;
}else{
int c =0;
c = a/b;
return c;
}
}
public static void main(String[] args) {
ExceptionTest ex = new ExceptionTest();
try{
ex.myMath(20, 0);
}catch(MyException e){
System.out.println("예외발생 : "+ e.msg);
}
}
}






/*
public class ExceptionTest {

public static void main(String[] args){
//만약에 파일을 카피하거나 네트워크 전송할때.
//FileInputStream fis = new FileInputStream("c:\\test\\aaa.txt");

//문자로 읽어보기, 파일카피, 네트워크 전송
//FileReader fr = new FileReader("c:\\test\\aaa.txt");
FileReader fr=null;
BufferedReader br=null;
try{
fr = new FileReader("c:\\Test\\aaa.txt");
br = new BufferedReader(fr);
char data[] = new char[512];
// while(fr.read(data)!= -1){
// System.out.println(data);
// }
String line= null;
while((line = br.readLine())!=null){
System.out.println(line);
}

// int read = fr.read();
// System.out.println((char)read);
}catch(FileNotFoundException e){
System.out.println("해당 디렉토리나 파일이 없습니다.");
}catch(IOException e){
System.out.println("파일을 읽을수 없습니다.");
}catch(Exception e){
System.out.println("알수 없는 예외입니다.");
}finally{
try{
if(fr != null) fr.close();
}catch(Exception e){}
}
}
}


*/



.
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기

Posted by 홍반장

2009/10/06 18:20 2009/10/06 18:20
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/4689

ch02ex.java


/*
* 1. 0이 입력될때까지 정수를 입력하고, 0이 입력되면 합/평균/최대/최소값을 구한다.
* 2. 4자리 정수 나르시스트 수를 출력하라.
*/
import java.io.*;
import java.util.Scanner;
import java.lang.Exception;

public class ch02ex {

public static void ChkNum(Integer n){
System.out.print("=+= "+ n +"숫자만 입력하세요.");
}

public static void main(String[] args){
int sum = 0, max = 0, min = 0, reader = 0, count = 0;

Scanner stdin = new Scanner(System.in);

try{
while(true){
System.out.print("정수를 입력하세요");
reader = stdin.nextInt();
ChkNum(reader);

if(reader == 0) break;
sum += reader;
count++;
if(reader>max){
max = reader;
}
if(min == 0 || min > reader){
min = reader;
}

}

System.out.printf("총합계는 %5d 이고, 평균은 %.2f , 최대값은 %5d 최소값은 %5d\n", sum,(float)sum/count, max,min);


//--- 4자리 정수 나르시스트 수 :두자리씩 구분하여 제곱하고 더한 수가 원래의 수와 같은 수
int first = 0, second = 0, hap = 0;
for(int i = 1000; i <= 9999; i++){
first = i/100;
second = i%100;
hap = (first*first)+(second*second);
if(hap == i){
System.out.println("네자리 정수 나르시스트수는 "+ i +" 입니다.");
}
}

//--- 3자리 정수 나르시스트수
int a=0, b=0, c=0;
System.out.println();
for(int i=100;i <= 1000;i++){
a=i/100;
b=i%100/10;
c=i%10;
hap = (a*a*a) + (b*b*b) + (c*c*c);
if(hap == i){
System.out.println("세자리 정수 나르시스트수는 "+ i +" 입니다.");
}
}

//--- 구구단 가로 출력
for(int i = 1; i< 10; i++){
for(int j = 1;j < 10; j++){
System.out.printf(" %4d * %d = %d ",j,i,i*j);
}
System.out.println();
}

//--- 알파벳 도형찍기
for(int i = 65; i <= 90;i++ ){
for(int j = 65;j <= i; j++){
System.out.print((char)j);
}
System.out.println();
}

//--- 각수까지의 합(for 문 2개 이용)
hap = 0;
for(int i = 1;i <=100;i++){
for(int j = 1;j <= i;j++){
hap += j;
}
}
System.out.print("\n 총 합은 "+ hap +" 입니다. ");

//--- 각수까지의 합(for 문 하나 이용)
hap = 0;
count = 0;
for(int i = 1;i <=100;i++){
hap += i;
count += hap;
}
System.out.print("\n 총 합은 "+ count +" 입니다. ");



}catch(NumberFormatException e){

System.out.println("숫자만 넣어줍니다.");

}catch(Exception e){

System.out.println("알수 없는 예외상황입니다. \n Exception Message :" + e.getMessage());
//e.printStackTrace();

}finally{

//--- 예외가 실행되든 안되든 무조선 실행한다.
System.out.println("\n 프로그램 종료입니다.");

}







}
}
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기

Posted by 홍반장

2009/10/06 18:17 2009/10/06 18:17
Response
No Trackback , No Comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/4688

« Previous : 1 : ... 172 : 173 : 174 : 175 : 176 : 177 : 178 : 179 : 180 : ... 640 : Next »

블로그 이미지

- 홍반장

Archives

Recent Comments

  1. 1 pHqghUme 2025
  2. 1 pHqghUme 2025
  3. 1 pHqghUme 2025
  4. 1 pHqghUme 2025
  5. 1 pHqghUme 2025

Calendar

«   2026/03   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Statistics Graph

Site Stats

Total hits:
343746
Today:
37
Yesterday:
160