At the top is a Text Box where the user enters a name to search in the phone book as a String.
在顶部是一个用户能输入名称来搜索电话薄的文本框。
Enter the string HttpUnit Home into the search text box and submit the form.
在搜索文本框中输入字符串HttpUnit Home,并提交表单。
The initial logic behind the Search button is very similar to the first example: we check that the text box doesn't contain an empty string prior to invoking the web service.
在 Search 按钮背后的初始逻辑是类似于第一个实例:我们在调用 Web 服务之前,检查文本框是不是一个空字符串。
应用推荐