カテゴリ: Spring

@ResponseStatusアノテーションを使うだけ。 @ResponseStatus(HttpStatus.OK) @RequestMapping(method = { RequestMethod.POST }) public void methodName(@RequestParam("Id") Integer id) { ... } ... もっと読む
このエントリーをはてなブックマークに追加

だれかの海外blogから。Controllerにこういうメソッドがあるとして、Spring MVCではリクエストパラメータをDateに変換してくれない。 @RequestMapping(method = { RequestMethod.POST }) public MappingJacksonJsonView methodName(@RequestParam("date") Date date) { ... ... もっと読む
このエントリーをはてなブックマークに追加

<bean id="debugInterceptor" class="org.springframework.aop.interceptor.DebugInterceptor" /> <aop:config> <aop:advisor advice-ref="debugInterceptor" pointcut="execution(* .*(..))" /> </aop:config> ... もっと読む
このエントリーをはてなブックマークに追加

[java] 2010/01/09 21:51:29 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions [java] 情報: Loading XML bean definitions from file [/Users/jyukutyo/Documents/workspace/1-3-2/beans.xml] [java] Exception in threa ... もっと読む
このエントリーをはてなブックマークに追加

Spring Downloads | SpringSource.orgリリースされましたね!Spring 3.0!まあ3.0になったからと言って劇的な変化はないようですが。さっそくダウンロードしましたが、with-dependenciesアーカイブがないのとspring.jarで固まってるのはないんですね。いちいち各プロダクトの ... もっと読む
このエントリーをはてなブックマークに追加

↑このページのトップヘ