📄 ch03s01.html
字号:
<html><head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>1. 安装和启动Seaside</title><link rel="stylesheet" href="html.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.69.1"><link rel="start" href="index.html" title="Java网络程序员看Continuation"><link rel="up" href="ch03.html" title="Chapter 3. Seaside框架"><link rel="prev" href="ch03.html" title="Chapter 3. Seaside框架"><link rel="next" href="ch03s02.html" title="2. Counter例子与回退键处理"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">1. 安装和启动Seaside</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch03.html">Prev</a> </td><th width="60%" align="center">Chapter 3. Seaside框架</th><td width="20%" align="right"> <a accesskey="n" href="ch03s02.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e222"></a>1. 安装和启动Seaside</h2></div></div></div><p>首先您需要下载Squeak的最新版。Squeak是最受欢迎的smalltalk环境之一,支持Windows, Linux, Mac OS X和各种UNIX。Squeak当前的最新版是3.8.9。然后您需要下载Seaside的image,当前最新版是Seaside-2.5.image。Squeak是smalltalk虚拟机,就好像游戏机模拟器一样,而Seaside image呢,当然就像游戏ROM啦。Squeak不使用操作系统的窗口和文件系统,这和游戏机模拟器一样,但是熟悉Java虚拟机的读者可能对Squeak的这种运行方式不太熟悉。记住smalltalk在现代图形操作系统之前就已经出现了,因此往往把smalltalk想像成一个操作系统而不是一个应用程序会比较容易理解。双击Seaside-2.5.image,您会看到Squeak和Seaside启动:</p><div class="screenshot"><div class="mediaobject"><img src="resources/launch.png"></div></div><p>WAKom是Seaside自带的web server。上面的信息说,该服务器已经在9090端口启动,URL是<code class="uri">http://localhost:9090/seaside/config</code>,用户名和密码分别是seaside和admin。我们打开浏览器检查一下:</p><div class="screenshot"><div class="mediaobject"><img src="resources/config.png"></div></div><p>上面显示了当前在运行的Seaside程序有alltests,config,counter等等。</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch03.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch03.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch03s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 3. Seaside框架 </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 2. Counter例子与回退键处理</td></tr></table></div></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -