[Scala]Play framework 2.0でプロジェクトルートのパスを取得する方法
Controllerの中などで、
Play.current.path.getPath()
とする
2012年5月8日
Controllerの中などで、
Play.current.path.getPath()
とする
Posted by GENDOSU
前回「Scala + Liftで、GlassFishの接続プールを使う」の中で、 ...
lazyというのは、値を遅延評価する宣言 // lazyをつけると、値の評価が初 ...
Play frameworkは便利ですが、そのまま稼働させたい時などにわざわざ ...
protectedの挙動ですが、まず scalaでは、class とか obje ...
import org.apache.commons.io.FileUtils v ...