There we introduce an article which use javascript to check the form field,
it use the tradition methods to get form field elements, and introduce some register event content.
you can see:
http://www.webcredible.co.uk/user-friendly-resources/dom-scripting/validate-forms-javascript.shtml
2012年9月13日 星期四
2012年9月12日 星期三
Javascript interpter in rhino
There are a javascript interpter on local machine.
It is the rhino, it is written by java, and you can download it, then
type
[]java -jar js.jar JSFileName
will show the result,
js.sh
{code}
#!/bin/bash
RLWRAP='rlwrap -C js';
exec $RLWRAP java -jar ~/IBMS/Program/java/lib/js.jar "$@";
{code}
Rhino Download:
https://developer.mozilla.org/en-US/docs/Rhino/Download_Rhino?redirectlocale=en-US&redirectslug=RhinoDownload
rlwrap download: http://utopia.knoware.nl/~hlub/uck/rlwrap/
reference:
http://workingrhino.blogspot.tw/2007/10/getting-started.html
It is the rhino, it is written by java, and you can download it, then
type
[]java -jar js.jar JSFileName
will show the result,
js.sh
{code}
#!/bin/bash
RLWRAP='rlwrap -C js';
exec $RLWRAP java -jar ~/IBMS/Program/java/lib/js.jar "$@";
{code}
Rhino Download:
https://developer.mozilla.org/en-US/docs/Rhino/Download_Rhino?redirectlocale=en-US&redirectslug=RhinoDownload
rlwrap download: http://utopia.knoware.nl/~hlub/uck/rlwrap/
reference:
http://workingrhino.blogspot.tw/2007/10/getting-started.html
2012年9月10日 星期一
極光行動 (Operation Aurora)
http://tw.trendmicro.com/tw/support/tech-support/board/tech/article/20120430133619.html
2012年9月4日 星期二
Java regular express
1. It is a good content in this to explain the java regular express you can reference it
http://www.vogella.com/articles/JavaRegularExpressions/article.html
http://www.vogella.com/articles/JavaRegularExpressions/article.html
2012年8月29日 星期三
2012年8月28日 星期二
Struts 1.3 document
there is the struts document about description the action attribute,
you can link it to the office document, such as
<action path="/somepath"
type="SomeAction"
name="SomeForm"
scope="session"
input="someinput.jsp">
struts-config_1_3.dtd
http://struts.apache.org/1.x/struts-core/dtddoc/struts-config_1_3.dtd.html#action-mappings2012年8月21日 星期二
Hibernate Query Language (HQL)
1. Reference
Sample {{{
Query query = session.createQuery("from Stock where stockCode = :code "); query.setParameter("code", "7277"); List list = query.list();
}}}
http://www.mkyong.com/hibernate/hibernate-query-examples-hql/
2. office
http://docs.jboss.org/hibernate/orm/3.3/reference/en/html/queryhql.html
訂閱:
文章 (Atom)