Start by creating a new servlet.
第一步,创建一个新的servlet。
Acceptable servlet response time.
可接受的servlet响应时间。
The servlet code is quite trivial.
servlet代码相当简单。
Click Finish to import the servlet.
单击Finish导入该servlet。
Register the Mashups4JSF feed servlet
注册Mashups4JSFfeedservlet
You call the servlet with an HTTP GET.
您可以使用HTTP GET调用servlet。
This feed is the basis for the servlet.
这个feed是servlet的基础。
Next, you can examine the servlet code.
接下来,您可以检查Servlet代码。
Include the servlet JAR file or classes.
包括ServletJAR文件或类。
Each object is displayed by the servlet.
所有对象由servlet显示。
The name of the servlet class is JSServlet.
servlet类的名称是JSServlet。
To test the servlet, follow the steps below.
要测试servlet,请遵循下面的步骤。
The rest of the servlet code is pretty simple.
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所示。
As the name implies, it is similar to a servlet.
顾名思义,它与servlet很相似。
To the servlet, this is the normal Session scope.
对于Servlet,这是正常的会话范围。
Each servlet will appear under that SRC directory.
每个Servlet都将显示在该src目录下。
You've already set up the servlet to display a form.
现在已经设置好servlet以显示表单。
Later in the article, you learn how to write a servlet.
在本文稍后,将学习如何编写servlet。
Define the servlet in the web.xml file, as in Listing 1.
在web. xml文件中定义Servlet,如清单1所示。
You'll also see the new image on the actual servlet page.
我们还可以在当前的servlet页面中看到新的图像。
When the application has started, you can test the servlet.
应用程序启动后,您就可以测试该servlet。
Now you need to test the servlet by registering a new user.
现在需要注册一个新用户以测试servlet。
You can call the servlet in one of four different ways.
可以采用四种不同的方法之一调用Servlet。
First, begin with a servlet that simply loads the VXML file.
首先从一个仅载入VXML文件的Servlet开始。
First, begin with a servlet that simply loads the VXML file.
首先从一个仅载入VXML文件的Servlet开始。
应用推荐