?? visit.groovy
字號:
Animal shark = new zoo.fish.Shark()
Animal trout = new zoo.fish.Trout()
Animal forelle = new zoo.HommingbergerGepardenforelle()
println """
<html>
<head>
<title>Groovy Servlet Example - Visiting the zoo</title>
</head>
<body>
<p>Shark<br>
${shark.saySomething("\"Where is the trout?\"")}
<p>Trout<br>
${trout.saySomething("Here is the trout!")}
<p>Forelle<br>
${forelle.saySomething("\"<a href=\"http://www.hommingberger-forelle.de\">There is no spoon.</a>\"")}
</body>
</html>
"""
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -