struts2 has annotation validation features, which makes validation javascript automatically. i didn’t know this feature also does server side validation. so if you turn off client side script for some custom validation, the server side validation prevents from submitting invalid input data.
that’s why i spend couple of time, today. i checked by using firebug and see there is no post data. it was very wierd experiences ever in this year..
so i fixed it by just delete annotation validate code.. and add more custom validation code. so as to say, if we know the cause, the solution isn’t difficult to find at all.
i inserted blank cd into my new uni-body macbook pro, because i think that cd contains some music. but it’s just a blank cd.. too sadly.. and i just couldn’t find the icon of blank cd in my desktop.
so how can i eject this cd if there’s no cd icon and eject button also doesn’t work? i googled it and found some fxxking lusers’s response to reboot the system. that’s too ridiculous, don’t you think so?
the solution i found is using vmware. connect physical cdrom to vm and eject it. i think there may exist another solutions. but google didn’t teach me the way..
i feel so sorry, there have been so many bugs in mac. i admit it’s a perfect machine for development, but i need more..
in jQuery’s official site, they say jQuery has no conflict with major library.. yeah, that may be right.. i believed it and implement in my prototype and script.aculo.us environment.
when i test class selector jQuery(”.myClass”), it doesn’t simply work, id selector works fine..
jQuery.noConflict() has useless in this case.. and i tested my code and there was no error at all..
so i disabled script.aculo.us after few hour’s labor, it works like a charm..
the program was only 10 or so minutes to finish, but i spent full afternoon for this issue..
it’s very curious.. because of jQuery’s nature, it isn’t easy at all to make a conflict like this..
but there is one in reality..
i couldn’t find about conflict reporting in jQuery.. so be careful to select and combine
javascript libraries.
nagios is an open source server management system.. though the design isn’t cool like its competitors, it has many useful features you have to check. i installed it to ubuntu and test it.. actually it was very simple.. just apt-get install nagios2 and add new auth info and that’s all.. you can get further information from ubuntu howto site.
there are something missing parts in that howto. you have to setup apache2.conf manually
open /etc/apache2/apache2.conf and add
Include /etc/nagios2/apache2.conf
and you have to *start* nagios. strangely, restart doesn’t work..
sudo /etc/init.d/nagios2 start
and you can see nagios is working on your server.
good luck, server guys~
i said ubuntu 8.10 has some samba problem, and i changed it to 8.04 and the problem wasn’t disappeared. actually it was some kind of permission problem. mac uses id:staff but ubuntu uses id:id. because the group is different the access is limited also.. i don’t know how to setup correctly to solve this problem. i just set the samba dir in ubuntu. and use avahi to connect to leopard.
this is the sample code
smb.conf
1
2
3
4
5
6
7
8
9
10
| [shared]
comment = Shared
path = /home/yourid/shared
read only = no
browseable = yes
writable = yes
valid users = yourid
valid group = staff
write list = yourid
create mask = 0777 |
and
1
| sudo apt-get -y install avahi-daemon |
wish you luck!
i like ubuntu so much. this linux does rock really! it’s stable and fast and full of useful features. i anticipated new version of ubuntu so long. i couldn’t wait the release date, so i installed rc using upgrade, and the tregedy started from then.
at first, i faced apache virtual host didn’t work right.. i remained configuration files and that cause a problem(can you believe it?). i changed some and apache worked, but always showed error messages when starting. and i faced more serious problem of samba network, this one also worked without problem in previous ubuntu. i couldn’t write some file above the shared directory. i checked and re-cheched the permission and no good at all. i googled it and knew the main suspect of this problem was new kernel.
and one more, i installed vmware toolbox and i couldn’t control mouse pointer..
so i give up and go back to 8.04. i was very surprised that there are too many critical bugs in ubuntu. i learned it’s very fool to use cutting edge server solution. i think i may not wait another ubuntu. next time i upgrade my ubuntu will be last half of next year, i guess..
yesterday, i updated my mac and found 64 bit java 6 was included in this update.
it wasn’t default so i change the setting manually below /System/Library/…
and suddenly intelllij idea didn’t work.. and i found intellij use 1.5 by default.
and change it to 1.6 may not work right..
so i tried eclipse 3.4. but there was no 64bit java support eclipse for mac.
a bit frustrating.. so i reverted the change..
maybe i have to wait the next os, snow leopard, when the java 6 becomes default.
anyway, i made another java 6 directory and set JAVA_HOME there..
it works.. and intellij idea rus smoothly by using system default setting..
that’s enough to me..
i love roppongi!
…
if you can’t post from flickr.
add these lines to your .htaccess
1
2
3
| <Files xmlrpc.php>
SecFilterInheritance Off
</Files> |
i turned off cookie and test as if ff is mobile browser.
and at the same mode, i develop some web page.
then jquery’s click event doesn’t work. i don’t know why it does..
so i turned on cookie and my js program works fine.
and that’s all.. there are too many mysteries in the browser.