scala是因为使用paly框架二使用的,了解后发现它和jsp有点像。 没有分号; 1.函数 @Functionname(param)={ content } 2.变量@{var name :Type =value }