김학규의 홈페이지입니다.
뉴스와토론
Neolith의 방
갤러리
기획&아이디어
Q&A와 스터디
소모임&잡담
차갤
지름신갤
추천/비추천
WIKI
링크
Q&A와 스터디
글 수
3,012
회원 가입
로그인
Java프로그래밍에서 msgBox 생성하는 방법이 없나요?
에디오스
http://old.lameproof.com/401854
2011.10.11
11:22:13 (*.246.196.44)
11700
JSP와 Oracle연동해서 뭔가 이상한 실습을 마구하고있는데..
memberCreate 라는 페이지에서 ( 역할을 적힌대로.. ) 내용 입력 후 submit 시 DB에 insert가 성공하면 웹상에서 msgBox로 확인을 시켜주고 싶은데
java코드 자체에서는 그런 역할을 하는 클래스가 없나요?
구글링을 해보니 대부분 JavaSwing을 이용하던데... original Java코드로는 불가능한지 궁금해져서 질문드립니다~!
이 게시물을...
목록
2011.10.11
11:30:46 (*.76.140.235)
bard
java는 server-side에서 돌아가는 녀석입니다. msgbox를 띄우시고 싶으시면 javascript를 사용하시는 편이 낫겠지요.
JSP 역시 server-side에서 돌아가는 녀석이기 때문에, DB insert 처리 후에 javascript로 msgbox를 띄워주면 됩니다.
<%
int result = 0;
try {
....
result = stmt.executeUpdate(....);
....
} catch (SQLException sqle) {
....
}
%>
<script language='javascript'>
alert('수행결과는 <%= result %> 입니다.');
</script>
이런식이겠지요. 물론 지극히 무식한 방법으로 한 것이긴 합니다만, JSP건 java건 서버사이드에서 돌아가는
녀석이라는걸 이해하시는데는 무리가 없을줄 압니다. ^^;
java를 클라이언트에서 돌리시고자 하시면 오히려 일이 커집니다. 애플릿 같은걸 만드셔야 하고, Type-2 JDBC 통신도 하셔야 해서
보안 문제도 걸리고 ... 좋지 않지요.
참고되셨기를..
2011.10.11
12:18:31 (*.246.196.44)
에디오스
빠르고 정확한 답변 감사드립니다 emoticon_15 어쩔 수 없는거였군요... 아하하하
지금 작성중인것도 server측이긴 하지만... 어쨌거나 JSP를 사용하지 않으면 방법이 없네용ㅎㅎ
2011.10.11
12:29:17 (*.76.140.235)
bard
서버쪽 디버깅은 log를 활용하시는 편이 여러모로 편합니다. ^^;
2013.05.19
11:00:12 (*.153.235.115)
bestbasci01@yahoo.com
Coach Handbags
having eaten his soup
cheap burberry handbags
into the small chamber
wholesale designer purses
beneath the roof and facing
coach outlet online
overcome with fatigue
coach outlet coach
was dazed for a moment
cheap designer bags
so heavy that he rose
cheap designer purses
with the idea of getting
furla handbags
fresh air before having
gucci handbags
approach of which one feels
gucci wallet
on in great mists which
hermes handbags
the low sky seemed to
jimmy choo handbags
of wind now to animate
cheap juicy couture handbags
walked straight ahead
juicy couture wallet
already growing gloomy at
cheap louis vuitton bags
lantern yet shining from
cheap louis vuitton wallet
to watch the departure
mk purses
going away in bands
mk wallet
abusing him because
prada handbags
quarrel with an overseer over
prada wallet
of these beasts who devour
roberto cavalli handbags
enough for them to
Coach purse
with her eagle nose
coach purses
young people behind
cheap handbags purses
who was waiting there
cheap handbags and purses
will have something to
outlet coach online
coming out of the screening
coach online outlet
also coming out
cheap coach purses
son taking the main road
coach purses outlet
spite of her resistance into
cheap purses and handbags
wrangled like old housemates
cheap purses handbags
are no wheatfields to
purses and handbags cheap
had reduced his family
cheap gucci bags
us if it will amuse you
purses handbags wholesale
getting on at the house
wholesale purses handbags
to whom he had promised
wholesale handbags purses
every evening like the fowls
handbags purses wholesale
the thread and drew out
handbags and purses wholesale
franc pieces from corner
cheap louis vuitton handbags
profit of the overtime
wholesale purses and handbags
your mother decide to
china handbags
for every mouthful
china purses
spoke with the soft voice
prada bags
it was a sacred promise
purses from china
had got the three pieces
bags from china
things to an extreme in
coach bags
the winter chamber
louis vuitton outlet
it would not give her any
louis vuitton bags
to the settlement alone
louis vuitton belts
to rejoin his companion
louis vuitton store
without understanding
Louis Vuitton Damier bags
for behind the factories
handbags louis vuitton
hollow into which some large
louis vuitton sunglasses
of you if you want more
louis vuitton louis vuitton handbags
roamed about in the meadows
louis vuitton wallets
and instead of going back to
outlet louis vuitton
and offer the dandelions
louis vuitton handbags
enough to know that
louis vuitton purses bags
the ardour of business
louis vuitton men bags
were dividing the profits
louis vuitton monogram bags
credulity which always made
louis vuitton bags handbag
all that money excited
purses louis vuitton
at your house that you
cheap louis vuitton
divide eleven sous into
louis vuitton purses
experienced the fear and
louis vuitton sale
advanced her hand with
bags louis vuitton
how to hide them from
louis vuitton louis vuitton purses
together the love which
louis vuitton bags purses
games of vicious puppies
louis vuitton wallet
delicious trembling of instinct
louis vuitton bag
received a cuffing whenever http://www.ask.com http://www.yahoo.com http://www.bing.com http://www.google.com http://www.aol.com
2013.08.19
10:24:21 (*.205.198.166)
1457456863@qq.com
雪地靴 2013新款
雪地靴
雪地靴
雪地靴
雪地靴
雪地靴
雪地靴
雪地靴
雪地靴
雪地靴
雪地靴
马丁靴
雪地靴 短靴
雪地靴 兔毛
雪地靴 狐狸毛
雪地靴 女 高筒
豆豆鞋 女
雪地靴 流苏
雪地靴 女 短靴 2013新款
雪地靴 女 中筒
雪地靴 女 短靴
雪地靴 2013新款
나의 소셜 정보
원하시는 로그인을 선택해주세요
비밀번호
» 편집 도구모음 건너뛰기
되돌리기
다시 실행
형식
제목 1
제목 2
제목 3
제목 4
제목 5
제목 6
글꼴
돋움
굴림
바탕
Arial
Arial Black
Tahoma
Verdana
Sans-serif
Serif
Monospace
Cursive
Fantasy
크기
9px
10px
11px
12px
13px
14px
16px
18px
24px
32px
줄 간격
100%
120%
140%
160%
180%
200%
진하게
밑줄
기울임
취소선
글자 색
#ff0000
#ff6c00
#ffaa00
#ffef00
#a6cf00
#009e25
#00b0a2
#0075c8
#3a32c3
#7820b9
#ef007c
#000000
#252525
#464646
#636363
#7d7d7d
#9a9a9a
#ffe8e8
#f7e2d2
#f5eddc
#f5f4e0
#edf2c2
#def7e5
#d9eeec
#c9e0f0
#d6d4eb
#e7dbed
#f1e2ea
#acacac
#c2c2c2
#cccccc
#e1e1e1
#ebebeb
#ffffff
#e97d81
#e19b73
#d1b274
#cfcca2
#cfcca2
#61b977
#53aea8
#518fbb
#6a65bb
#9a54ce
#e573ae
#5a504b
#767b86
#00ffff
#00ff00
#a0f000
#ffff00
#951015
#6e391a
#785c25
#5f5b25
#4c511f
#1c4827
#0d514c
#1b496a
#2b285f
#45245b
#721947
#352e2c
#3c3f45
#00aaff
#0000ff
#a800ff
#ff00ff
글자 배경색
가나다
가나다
가나다
가나다
가나다
가나다
가나다
가나다
가나다
가나다
가나다
가나다
가나다
가나다
가나다
위 첨자
아래 첨자
왼쪽 정렬
가운데 정렬
오른쪽 정렬
양쪽 정렬
번호 매기기
목록
단락의 들여쓰기 수준을 낮춥니다.
들여쓰기
인용문
왼쪽 실선
인용 부호
실선
실선 + 배경
굵은 실선
점선
점선 + 배경
적용 취소
링크
하이퍼링크
새 창으로
확인
취소
특수문자
특수문자 삽입
특수문자 레이어 닫기
일반기호
숫자와 단위
원, 괄호
한글
그리스,라틴어
일본어
선택한 기호
특수문자 레이어 닫기
표
칸 수 지정
행
1행 추가
1행 삭제
열
1열 추가
1열 삭제
표 속성 지정
테두리 굵기
1px 더하기
1px 빼기
테두리 색
색상 찾기
색상 찾기
표 배경색
색상 찾기
색상 찾기
셀 병합
열 분할
행 분할
확장 컴포넌트
이모티콘 출력
이미지 추가
멀티미디어 자료 관리
설문조사 컴포넌트
기본 이미지 갤러리
Naver Photo Editor
HTML 편집기
입력창 크기 조절
파일 첨부
선택 삭제
본문 삽입
문서 첨부 제한 : 0Byte/ 20.00MB
파일 제한 크기 : 20.00MB (허용 확장자 : *.*)
번호
제목
글쓴이
날짜
조회 수
2932
프리미어프로 관련 책을 소개받고 싶습니다
12
플라디아
2010-12-09
14438
2931
우분투(코분투)에서 톰켓을 설정하는 법을 모르겠어요.
5
50
정상택
2010-10-29
14366
2930
스마트 폰 시대에 이것을 게임으로 만들기 어려운 이유는 무엇일까요?
12
108
게임초보
2010-11-12
14191
2929
현재 시장에서 가장 널리 쓰이는 Boost의 버전은 몇번대 일까요?
CrazyBird
2014-02-07
13946
2928
인터넷 홈쇼핑 사이트 제작에 필요한것은 무엇이 있을까요?
8
141
witstb
2012-04-23
13863
2927
25살에 프로그래머를 될려고 하는데 괜찮을까요?
9
노아
2010-12-13
13786
2926
김학규대표께선 그라나도에스파다를 어떻게 생각하시는지 궁금합니다.
4
12
페리제독
2012-06-28
13784
2925
함수와 아규먼트를 파일에서 가져오기
25
47
同床異夢
2010-08-24
13735
2924
혹시 C++기반의 키넥트 프로그래밍 경험이 있으신분 계십니까?
4
이용운
2013-05-28
13721
2923
C#에서 User Control을 메인 폼에 추가할 경우, 프로젝트를 빌드하면 비주얼 스튜디오가 강제 종료됩니다.
4
194
同床異夢
2011-07-22
13592
2922
잘못된 포인터 연산의 디버깅
5
96
디스티노바
2011-11-12
13367
2921
기획자 포트폴리오엔
6
322
진룡
2011-09-12
12803
2920
한정치산자의 법률관계 질문드려요.
4
5
최경현
2010-10-12
12691
2919
oracle innerjoin문 질문
6
126
루엘
2011-12-26
12625
2918
게임프로그래밍전문가 자격증
26
17
데슬러
2012-04-07
12556
2917
UI(유저인터페이스)를 디자인하는 일을 맡게 되었습니다.
8
에리나울
2010-11-16
12315
2916
윈도 32비트 버전 VS 64비트 버전?
6
125
게임초보
2012-06-19
12237
2915
비주얼 베이직 컴파일시
3
246
데슬러
2012-04-23
12181
2914
SAFE_DELETE는 있는 데 SAFE_NEW는 왜 없을까요?
9
161
게임초보
2012-03-28
12112
2913
컴퓨터구조 메모리뱅크에 대해..
7
276
CrazyBird
2009-08-09
11976
목록
쓰기
첫 페이지
1
2
3
4
5
6
7
8
9
10
끝 페이지
제목
내용
제목+내용
댓글
이름
닉네임
아이디
태그
검색
취소
JSP 역시 server-side에서 돌아가는 녀석이기 때문에, DB insert 처리 후에 javascript로 msgbox를 띄워주면 됩니다.
<%
int result = 0;
try {
....
result = stmt.executeUpdate(....);
....
} catch (SQLException sqle) {
....
}
%>
<script language='javascript'>
alert('수행결과는 <%= result %> 입니다.');
</script>
이런식이겠지요. 물론 지극히 무식한 방법으로 한 것이긴 합니다만, JSP건 java건 서버사이드에서 돌아가는
녀석이라는걸 이해하시는데는 무리가 없을줄 압니다. ^^;
java를 클라이언트에서 돌리시고자 하시면 오히려 일이 커집니다. 애플릿 같은걸 만드셔야 하고, Type-2 JDBC 통신도 하셔야 해서
보안 문제도 걸리고 ... 좋지 않지요.
참고되셨기를..