]]>re: 鍩轟簬hibernate/spring鐨勫惈RBAC鏉冮檺妯″潡鐨勫揩閫熷紑鍙戞鏋?鐩墠涓巜ebwork鏁村悎) http://m.tkk7.com/scorpio_leon/archive/2006/07/18/18878.html#58700xiaochenxiaochenTue, 18 Jul 2006 02:30:00 GMThttp://m.tkk7.com/scorpio_leon/archive/2006/07/18/18878.html#58700age,>,20
[and:a]id,>,100
[and:a]id,!=,200
[or:or_b]salary,>,200
[or:or_b]salary,<,400
[or:and_a]age,=,60
[or:and_a]title,=,manager
[not:or_a]age,=,30
[not:or_a]title,=,cto
鐢熸垚sql錛?age>20 and (age=60 or title=cto)) or (age=60 or title=cto) and not (age=60 or title=cto)
涓轟粈涔坕d鍜宻alary涓㈠け浜嗭紵
鑰屽湪DefaultActionSupport涓涓嬪弬鏁? age,>,20
[and:a]id,>,100
[and:a]id,!=,200
[or:b]salary,>,200
[or:b]salary,<,400
[or:a]age,=,60
[or:a]title,=,manager
then the generated sql like this:
age > 20 and (id > 100 and id != 200) or (salary > 200 and salary < 400) or (age = 60 and title = manager)
涓よ呰В鏋愮殑鏂規(guī)硶鏈変粈涔堜笉鍚岋紵
鍙﹀鍦╬ublic static QueryParam generateQueryParam(String[] names, String[] operators, Object[] values)
涓湁bug錛氬垽鏂璦ndParameters != null鍗村彇寰?notParameters.keySet()錛? if (andParameters != null) {
QueryParam innerQueryParam = new QueryParam();
for (String key : notParameters.keySet()) {
鈥︹? }
}
楹葷儲浣犺В絳斾竴涓嬶紝鍙﹀濡傛灉鏂逛究鐨勮瘽錛岃鏄庝竴涓嬪弬鏁扮殑鍚箟錛屼粠jsp--銆塧ction--銆塻ervice鏈変粈涔堜笉鍚屼箣澶勶紵璋㈣阿浣?img src ="http://m.tkk7.com/scorpio_leon/aggbug/58700.html" width = "1" height = "1" />
]]>re: bba96欏圭洰鍔犲叆鍒癲ev.java.net鐨刯ava-enterprise瀛靛寲鍣?/title>http://m.tkk7.com/scorpio_leon/archive/2006/05/29/13966.html#48710Joey333 Joey333 Mon, 29 May 2006 03:44:00 GMThttp://m.tkk7.com/scorpio_leon/archive/2006/05/29/13966.html#48710 Installing web application at context path /bbaeg from URL file:D:\tomcat5\webapps\bbaeg
2006-05-29 11:02:21,156 ERROR [opensymphony.webwork.config.DefaultConfiguration] Could not find application.properties. Skipping