2012年8月29日 星期三

Strust

 You can see the struts contetnt
1. http://strutstestcase.sourceforge.net/

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-mappings

2012年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

FirstHibernateExample

1. You should modify the code
    a. using





Reference:
tutorial in http://www.laliluna.de/articles/java-persistence-hibernate/first-hibernate-example-tutorial.html

Libray in http://www.java4s.com/hibernate/jars-required-for-hibernate-annotations/

and the cglib.jar




2012年8月9日 星期四

Eclispe Folder, source folder


http://www.cnblogs.com/slowly-keeping/archive/2012/04/23/2466054.html

2012年8月8日 星期三

myEclispe Setting memroy

set the MyEclipse memory for -vmargs
-Xmx768m
-XX:MaxPermSize=384m
-XX:ReservedCodeCacheSize=64m



Reference :http://www.myeclipseide.com/PNphpBB2-printview-t-26337-start-0.html