zsh doesn’t support utf-8 correctly.. and it seems to be needed much time to fix it.. though i don’t want to comeback to bash. i have to consider seriously..
innovate softwares with new features almost have critical issues.. i installed vista and can’t found virtual cd program.. i may wait some.. since software industry permitted beta as a good strategy, it’s not good to use newest one..
ps. i comeback to bash, and upgrade to its latest version 3.2 using mac port. it recognizes korean and japanese charater very well. though there’s actually no need to type multibyte character in console directly, i sometimes mis-type and it can’t be deleted in a clean way in one-byte mode. i may miss zsh, but can’t take too much inconvenience..
it’s a good to know document.
http://raibledesigns.com/rd/entry/ja_sig_comparing_java_web
i’m using struts2 now.. it has many cool and useful features, but no satisfiable amount of docs and no intutive coding style, especially ognl.. struts 2 uses ognl heavily. but the official ognl doc for struts is like this. http://struts.apache.org/2.0.8/docs/ognl.html
i think there’s no definitively good (i may say, perfect) framework in java scene now.. the only way to survive is to sacrifice the functionalities, and you don’t need to hesitate for that kind of decisions..
i need to deliver some parameter when redirecting in struts 2. it’s some what like this..
Action.java
Long id;
public Long getId() {
return this.id;
}
struts.xml
<action name="saveAction" class="Action" method="save">
<result name="success" type="redirect">
<param name="location">url.html?id=${id}</param>
<param name="parse">true</param>
<param name="encode">true</param>
</result>
</action>
and it fairly doens’t work.. like this..
url.html?id=com.cns:ips:war:2.0
what the hell!
i change it to this
Action.java
Long myId;
public Long getMyId() {
return this.myId;
}
struts.xml
<action name="saveAction" class="Action" method="save">
<result name="success" type="redirect">
<param name="location">url.html?id=${myId}</param>
<param name="parse">true</param>
<param name="encode">true</param>
</result>
</action>
and it works fine! please tell me how redirect works in struts? if struts 2 uses id as a reserved variable.. why can i get those documents? there’s so many mystery in struts and java world..
windows media recorder, not from MS.. it records all kind of streaming media except flash, flash is not a streaming media itself.. when capturing, you don’t even need to click the link.. it automatically captures streaming packet. so, cool.. very useful to me who loves music and musician..
i heard that zsh is cool. and it wasn’t difficult to change to zsh in mac os at all. so i decide to change my default shell
this one line is enough to change your default shell
chsh -s /bin/zsh
zsh and bash uses different prompt system, so be careful. and anything else is almost same.
this is my prompt in .zshrc, copied from .bashrc
export PS1=’[%m@%n %~]$ ‘
i’ve used this shell in some days, and finally got the conclusion that, this one’s better than bash, but not so definitively. and i found no reason to return to bash, i’ll use zsh for a while, i guess.
i faced some strange problem today.
i tested TableKit and it didn’t work in IE.
i tested everything i could and finally found the reason.
if meta tag is not included, this script doesn’t work.
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
i don’t know why.. i can’t understand at all..
there are a lot of strange things in the world
japanese tourists are treated as special case in bali or any other eastern asia.. many shops and servers suggest 2 or more expensive price for them.. you’d better not to use japanese, even if you are quite fluent in japanese.