1. Use debug to write debugging messages which should not be printed when the application is in production.
2. Use info for messages similar to the "verbose" mode of many applications.
3. Use warn for warning messages which are logged to some log but the application is able to carry on without a problem.
4. Use error for application error messages which are also logged to some log but, still, the application can hobble along. Such as when some administrator-supplied configuration parameter is incorrect and you fall back to using some hard-coded default value.
5. Use fatal for critical messages, after logging of which the application quits abnormally.
from
http://www.vipan.com/htdocs/log4jhelp.html
2010년 3월 19일 금요일
2009년 10월 20일 화요일
secret of name and id (1)
There are sevral checkbox with name 'chk'.
and you want to know how many chk boxes there.
if you're confuse id and name, you'll get different result.
1. ID
$("#chk_can").length
returns 1
2. NAME
$("input[name='chk_can']").length
returns 3
and you want to know how many chk boxes there.
if you're confuse id and name, you'll get different result.
1. ID
$("#chk_can").length
returns 1
2. NAME
$("input[name='chk_can']").length
returns 3
2009년 10월 1일 목요일
select radio button according to radio value
There're 2 radio buttons
I'd like to choose radio button and check it with jQuery accroding to DB value.
what if DB value is '10'.
>> $("input[name=FS_type]").filter('[value='10']').attr('checked',true);
It doesn't work. Any idea?
I'd like to choose radio button and check it with jQuery accroding to DB value.
what if DB value is '10'.
>> $("input[name=FS_type]").filter('[value='10']').attr('checked',true);
It doesn't work. Any idea?
2009년 9월 22일 화요일
Jquery use get() of val()
function getTotal() {
f = $("input[name=chk]");
for(i=0;i
}
}
How can I get value of i element ???
2009년 9월 1일 화요일
[jquery] radio button II
html;
r1
r2
r3
jquery;
_fs_type= '10';
$("input[name=FS_type]").filter('[value='+_fs_type+']').attr('checked',true);
description;
set radio button 'r1' and checked it.
r1
r2
r3
jquery;
_fs_type= '10';
$("input[name=FS_type]").filter('[value='+_fs_type+']').attr('checked',true);
description;
set radio button 'r1' and checked it.
2009년 8월 28일 금요일
2009년 8월 25일 화요일
response.setCharacterEncoding("utf-8")
replace response.setCharacterEncoding("utf-8") with
response.setContentType("text/xml;charset=utf-8");
response.setContentType("text/xml;charset=utf-8");
피드 구독하기:
글 (Atom)