群发词典
首页
查询
Servlet
英音[ ˈsɜːvlɪt ]
美音[ ˈsɜːrvlet ]
小服务程序
常用释义
n.
(尤指 Java 语言中在服务器上运行的)小型应用程序;小服务程序
扩展信息
网络释义
小服务程序
在介绍JSTL之前,有必要介绍
小服务程序
(
servlet
)和Java服务端网页(Java Server Pages,JSP)的概念。小服务程序是一个Jav…
服务器端程序
3.7
服务器端程序
(
servlet
)的设计及实现 3.8 本章小结↓展开全部内容 J2ME(Java 2 Micro Edition)是Sun公司专门为小型的消 …
服务器端小程序
* 表示(Presentation)
服务器端小程序
(
Servlet
)和Java 服务器页(JSP)支持Web/HTTP浏览器访问 * 事务(Transaction…
过滤器
精通JSP-Web开发技术与典型应用_百度百科 ... 11.5 Struts 开发实例 12.1
Servlet
过滤器
12.2 Servlet 监听器 ...
生命周期
Java Web程序设计与项目实践_百度百科 ... 4.6.5 DAO 工厂类87 5.2.2
Servlet
生命周期
99 5.2.3 HttpServlet 常用方法101 ...
上下文
Java完全自学宝典_百度百科 ... 17.4.2 include 指令 393 18.3.6
Servlet
上下文
436 19.1.4 RMIC 编译器 444 ...
的生命周期
JSP动态网站开发基础与上机指导 ... 8.1.2 Servlet 的优点 8.3.1
Servlet
的生命周期
9.2.1 Struts 的工程流程 ...
例句
全部
小服务程序
Just as you
've
seen
in
previous
articles
with servlets
,
JSP
pages
make
it
trivial
to
link
between
VXML pages
.
在
之前
关于
servlet
的
文章
中
已经
提到
,
JSP
页面
使
VXML
页面
之间
的
链接
变得
轻而易举
。
At
this point
,
I
'm
ready
to
deploy
my dwr
.
xml to my
Web
application
's
WEB
-INF
directory
,
where
the DWR
servlet
will
pick
it
up
.
现在
,
我
准备
把
dwr.xml
部署
到
Web
应用程序
的
WEB-INF
目录
,
在
那里
DWRservlet
会
读取
它
。
If
the
servlet
were
to
access
the
database
directly
,
the
code
would
be
very
similar
to the
code
in
the
session
bean
above
.
如果
servlet
要
直接
访问
数据库
,
那么
代码
就
与
上面
会话
bean
中
的
代码
非常
相似
。
The
only
time
you
even have
to
think
about
this
servlet
is
when
you
are
setting
up Seam Remoting
in
your
application
.
您
需要
考虑
使用
这个
servlet
的
惟一
情况
是
在
应用程序
中
设置
SeamRemoting
的
时候
。
Now that
I
've
got
a
servlet
to
pump out
a list
of Retweets
in
JSON
format
,
I
'm
ready
to
connect
that
data
to my
dashboard
web page
.
现在
我
已经
获得
了
servlet
以便
用
JSON
格式
导出
一系列
Retweet
,
我
准备
将
此
数据
连接
到
我
的
仪表盘
网页
。
Begin
by
creating
your VXML
in
a
VXML
file
,
and
test
it
out, just
as
you
would
when
working
with
a
servlet
.
首先
在
一个
VXML
文件
中
创建
您
的
VXML
、
测试
它
,
这
与
使用
servlet
时
相同
。
As
I
moved
over to
server
-
side
Java
programming
,
I
did
not
make
the
same
mistakes
with servlets
,
but
I
found
that
many
of my
customers
did
.
当
我
转向
服务器
端
Java
编程
时
,
我
没有
再犯
有关
servlet
的
相同
错误
,
不过
我
发现
我
的
很多
客户
都会
犯
这种
错误
。
Further
,
depending
on the
classloader
structure
,
an
attacker
may
be able to
invoke
servlets
outside
of
your
Web
application
.
更进一步
地
,
根据
类
加载
器
的
结构
,
攻击
者
可能
在
您
的
Web
应用程序
外部
调用
Servlet
。
When
run
,
this
command
will
automatically
start
an
embedded
servlet
container
,
making
Hudson ready-to-use
.
在
运行
的
时候
,
该
命令
将会
自动
启动
一个
嵌入
的
servlet
容器
,
使得
Hudson
已经
为
使用
做好
准备
。
This
is
set up
in
its
own
thread
during the
init
method
of
the
servlet
and
taken down
in
the
destroy
method
of the
servlet
.
这个
类
的
实例
是
在
servlet
的
init
方法
中
在
其
自身
的
线程
中
创建
,并
在
servlet
的
destroy
方法
中
销毁
的
。
For
instance
,
you might
have
a
cluster
of
clients inside of
a
servlet
container
talking to
a
single
server
,
in
classic
client
-
server
style
.
例如
,
在
典型
的
客户机
-
服务器
风格
中
,
将
有
多个
客户机
而
不是
一个
servlet
容器
与
单个
服务器
会话
。
You
can
bring it up
in
any
servlet
container
and
iterate
over
fragments
of
a
page
(
bricks
)
or
a
larger
composited
page
.
你
可以
在
任何
Servlet
容器
中
运行
Sitebricks
并
遍历
页面
(
称作
brick
)
或是
更大
的
组合
页面
中
的
片段
。
It
's
easy
to take
a
core
servlet
that
outputs
basic
VXML and
extend
it
with
other
servlets
,
each of which
provide
custom
behavior
.
可以
很
容易
地
实现
一个
输出
基本
VXML
的
核心
servlet
,
再
用
其他
servlet
(
均
提供
自
定义
行为
)
扩展
它
。
At the point that the
Notes
agent
invokes
the
external
servlet
,
it
does not
matter
that the
file
the
servlet
looks
for
is
in
Notes
.
Notes
代理
程序
调用
外部
servlet
时
,
servlet
寻找
的
文件
是否
在
Notes
中
并不
重要
。
As
you
've
seen
so far in
this
article
,
sometimes
a
servlet
-
generated
VXML
does
not
make
sense
.
致
此
,
您
已
看到
,
有时
servlet
生成
的
VXML
并
无
意义
。
While it is possible
to
use
cookies
or
Ajax
calls
to
a
servlet
to
check
and
store
state
information
,
avoid
a
dependency
on
the
page
's
state
.
尽管
能够
对
Servlet
使用
Cookies
或
Ajax
调用
来
检查
和
存储
状态
消息
,
但是
要
避免
依赖
于
页面
的
状态
。
Jersey is
usually
deployed
within
a
servlet
container
but
does
support
an
embedded
mode
of
operation
within
Java
programs
.
Jersey
通常
部署
在
一个
servlet
容器
中
,
但
不
支持
Java
程序
中
的
嵌入式
操作
模式
。
To
run
this
example
you
need
the
latest
JDK
and
JSDK
,
some
sort
of
servlet
engine
,
and
an
HTTP
server
.
要
运行
这个
示例
,
您
需要
最新
的
JDK
和
JSDK
、
某
种
类型
的
servlet
引擎
和
一个
HTTP
服务器
。
In both cases
,
however
,
the
content
to
be
included
must
be
part
of the
same
Web
application
(
or
servlet
context
)
as the
page
itself
.
不过
,
不管
是
哪
种
机制
,
要
包含
的
内容
都
必须
属于
与
页面
本身
相同
的
Web
应用程序
(
或
servlet
上下文
)。
On
each
request
,
the
servlet
's
service
method
executes
on a
thread
of
its own
; the thread on
which
the
request
is
executing
.
对于
每个
请求
,
Servlet
的
服务
方法
将
在
自己
的
线程
(
即
执行
请求
的
线程
)
上
执行
。
In
it
,
a
single
servlet
processes
view
,
model
and
controller
logic
.
在
这个
反
模式
中
,
一个
单独
的
servlet
将
处理
视图
、
模型
以及
控制器
逻辑
。
This
sends
a
response
to
the
browser
indicating
that
there
was
a
problem
with the
user
registration
or
that the
servlet
needs
debugging
.
这
向
浏览器
发送
一个
响应
,
表明
用户
注册
有
问题
或者
servlet
需要
调试
。
Clearly
,
it's even
easier
to
turn
VXML
into
a
JSP
page
than
it is to
embed
VXML within a
servlet
.
显而易见
,
将
VXML
转换
成
JSP
页面
要
比
将
VXML
嵌入
servlet
简单
得
多
。
The
connection
does
not
go
through
the
standard
servlet
chain
,
which
can
break
any
part
of the
system
that
rely
on
servlet
processing
.
连接
无法
通过
标准
的
Servlet
链
,
因为
这
会
打断
依赖
于
Servlet
的
任何
一部分
系统
。
It
indicates
a
relative
measure
of
importance
that
this
servlet
should
be
activated
during
server
startup
.
它
指出
一种
相对
重要
的
方法
,
该
servlet
应该
在
服务器
启动
过程
中
被
激活
。
Reloading
:
Checks
to
see
if
the
JSP
source
file
, from which the
servlet
was
created
, has
been
modified
and
needs
to be re-translated
.
重载
:
检查
以
确定
用于
创建
Servlet
的
JSP
源
文件
是否
被
修改
而
需要
进行
重新
转换
。
Stateless
Factorizer
is
,
like
most
servlets
,
stateless
: it has
no
fields
and
references
no
fields
from
other
classes
.
像
大多数
servlet
的
实现
的
那样
,
无
状态
分解
就是
没有
被
其他
类
应用
的
域
和
引用
,
也
没有
引用
其他
的
类
。
I ve
also
explained
some
of
the
most
common
uses
for
Servlet
filters
and
touched
on
how
filters
fit
into
a
traditional
MVC
architecture
.
本文
还
阐述
了
Servlet
过滤器
的
一些
最
普遍
应用
,
并
提到
了
过滤
器
如何
适应
传统
的
MVC
体系结构
。
The
server
,
which
can
reside
on
the
same
host
as the client
,
consists
of
a
Web
server
or
servlet
container
and
a
data
store
.
服务器
由
一个
Web
服务器
或
servlet
容器
和
一个
数据
存储
组成
,
它
可以
与
客户机
在
同
一个
主机
上
。
Of
course
,
this
general
invocation
servlet
can
be
used
in
any
Java
applications
or
Windows
applications
by
sending
out
a
URL
request
.
当然
,
通过
发出
一个
URL
请求
,
在
任何
Java
应用程序
或
Windows
应用程序
中
都
可以
使用
这
一
通用
调用
servlet
。
1·Servlet modeling and code generation.
小服务程序建模以及代码生成。
更新时间:2025-06-20 06:31