Start by creating a new servlet.
第一步,创建一个新的servlet。
Acceptable servlet response time.
可接受的servlet响应时间。
Click Finish to import the servlet.
单击Finish导入该servlet。
Servlet modeling and code generation.
小服务程序建模以及代码生成。
Register the Mashups4JSF feed servlet
注册Mashups4JSFfeedservlet
The servlet code is quite trivial.
servlet代码相当简单。
This feed is the basis for the servlet.
这个feed是servlet的基础。
Running the JSP and servlet sample.
运行JSPand servlet样本。
The last page in the New Servlet wizard.
新建servlet向导中的最后一页。
You call the servlet with an HTTP GET.
您可以使用HTTP GET调用servlet。
The name of the servlet class is JSServlet.
servlet类的名称是JSServlet。
Next, you can examine the servlet code.
接下来,您可以检查Servlet代码。
Include the servlet JAR file or classes.
包括ServletJAR文件或类。
Each object is displayed by the servlet.
所有对象由servlet显示。
There a several ways to create a new servlet.
存在许多新建servlet 的方法。
The rest of the servlet code is pretty simple.
Servlet代码的其余部分非常简单。
Servlet response time and client response time.
servlet响应时间和客户机响应时间。
There are two examples of this in this servlet.
在这个servlet 中有两个这种示例。
Listing 2. Global reference to the servlet.
清单2.指向Servlet的全局引用。
The RPC remote service is technically a servlet.
从技术上说,RPC远程服务是一个servlet。
Enter AuthServlet in the Choose a servlet field.
在Choosea servlet字段中输入AuthServlet。
The code for your servlet is shown in Listing 3.
servlet代码如清单3所示。
To test the servlet, follow the steps below.
要测试servlet,请遵循下面的步骤。
Click the Servlet TAB, as shown in Figure 36.
点击Servlet项,如图36所示。
Each servlet will appear under that SRC directory.
每个Servlet都将显示在该src目录下。
To the servlet, this is the normal Session scope.
对于Servlet,这是正常的会话范围。
You've already set up the servlet to display a form.
现在已经设置好servlet以显示表单。
When the application has started, you can test the servlet.
应用程序启动后,您就可以测试该servlet。
Later in the article, you learn how to write a servlet.
在本文稍后,将学习如何编写servlet。
Later in the article, you learn how to write a servlet.
在本文稍后,将学习如何编写servlet。
应用推荐