NET有一个顶级异常处理程序,该处理程序在对异常进行处理时向浏览器用户显示错误页面。
NET has a top-level exception handler that handles exceptions to show error pages to browser users.
一旦出现未处理的异常,就显示该缺省的错误页面。
The default error page will be displayed whenever an unhandled exception occurs.
如果检索失败,则将一个错误消息显示给用户,用户可通过重新加载页面来再次尝试。
If the retrieval was unsuccessful, an error message is displayed to the user who can try again by reloading the page.
寻找那些重复显示404错误的页面。
人们通常认为,红色、粗体、显示在页面顶端是错误消息的标准属性。
The color red, bold font, and a location at the top of a page are commonly recognized as standard attributes for error messages.
如果在连接数据库时发生错误,则将在另一个Web页面上显示一条消息。
If an error occurs connecting to the database, a message will be shown on another Web page.
由于错误页面是在请求分发器转发之后显示的,FacesContext不再在作用域中,因此这时执行业务逻辑就太迟了。
Because the error page is displayed after a request-dispatcher forward, the FacesContext is no longer in scope and it is therefore too late to do any business logic.
要运行metaphonesuggestscript脚本,我们需要对httpd .conf文件进行适当修改,否则将显示404错误页面。
File to run the MetaphoneSuggest script instead of displaying a 404 error page. For example, if your default httpd.conf.
允许servlet容器处理异常的问题在于,这严重限制了错误页面上显示的内容,并且禁止了事务回滚。
The problem with allowing the servlet container to handle exceptions is that it severely limits what can be displayed on the resulting error page and makes transactional rollbacks all but impossible.
现象:当浏览一个仅SSLv2的站点时,显示一个错误页面。
Symptom: When viewing a site that is configured to permit only SSLv2, an error page is displayed.
举例来说,它不能防御Web服务器错误页面中的问题(通常显示了资源的路径)。
For example, it won't defend against problems in error pages in Web servers (which display the path of the resource).
InfoQ:你们打算支持错误消息的层次吗? ——这样,我能用标准的方式显示一个通用的错误消息,如果我愿意,我可以用页面/屏幕特定的错误消息覆盖那个通用的错误消息。
InfoQ: Do you plan to support a hierarchy of error messages - so I have a standard way of displaying a generic error message that I can override with a page/screen specific error message if I want to?
您一定还想创建一个类似的页面来显示错误消息,当一个用户请求访问他或她未被授权的功能时,就会显示错误消息。
You'll also want to create a similar page to display an error message when a user attempts to access functionality for which he or she is not authorized.
一旦目标网站显示出一个“页面找不到”的错误,访客很可能会点击“返回”按钮。
When the target site shows a "Page not found" error, the visitor will likely click the "Back" button.
当门户服务器无法提供服务时,将显示一般的错误页面,如图7 所示。
When the portal server is not available, the general error page displays, as shown in Figure 7.
如果未授权的访问者试图输入错误的密码,您可以选择显示一个空白页面、重定向到一个不同的URL,或者返回到先前的页面。
If an unauthorized visitor attempts entry with an incorrect password, you can choose to display a blank page, redirect to a different URL, or go back to the previous page.
错误页面可以显示一个友好的信息给用户,然后可以将相关的异常信息写入日志以供管理员日后查看。
The error page can then display a friendly error message to the user, and then perhaps log the relevant exception information for the system administrator to review at a later time.
查看所有相关联的页面,由于所有的控件仍然存在,这些页面将不会显示任何错误。
View any page that references that master, and you'll see that the page renders without any errors because all of controls that were originally there are still there, they're just hidden.
如果用户想要直接访问.jsp页面上一个未被授权的功能,就会显示用户错误消息,如图14所示。
If the user attempts to directly access the.jsp page for an unauthorized functionality, a user error message is displayed as in Figure 14.
在此之前,我们想在出现错误404(文件未找到)时,会显示一个好看的页面;我们使用Plack:Middleware:ErrorDocument来完成这项任务。
On top of this we want to have a nice looking page when there is a 404 (file not found); for this we will use Plack: : Middleware: : ErrorDocument.
但是第二个语句会生成错误并在Web页面上显示。
However, the second statement generates and displays an error to the Web page.
Firebug还会显示只与所查看的页面相关的错误。
Firebug also shows errors related only to the page you are viewing.
LotusConnections出现问题的第一个表现是在Web浏览器中显示一个错误页面。
The first indication you get of a problem with Lotus Connections is an error page displayed in a Web browser.
当在执行一个函数期间抛出一个异常时,LotusConnections就会显示一个错误页面(见图3)。
Lotus Connections displays an error page (see figure 3) when an exception is thrown during the execution of a function.
最后,页面使用try块捕获任何不可预见的错误,并在页面上显示错误描述。
Finally, the page USES a try block to catch any unforeseen errors with the error description displayed on the page.
通过修改几个配置文件,可以修改显示特定错误的页面,使这些跨服务器的页面从“感观(lookandfeel)”上看是一致的。
By modifying several of the configuration files, we changed which pages display for certain errors to make the "look and feel" of the pages consistent across servers.
看到这个页面之后,作者认为这个错误显示信息是一个营销的花招。
页面首先显示 recipe对象的错误消息。
The page starts with any error messages on the recipe object.
新的SSL错误页面:当Firefox遇到未验证的SSL证书时会显示更明确严格的错误页面。
New SSL error pages: clearer and stricter error pages are used when Firefox encounters an invalid SSL certificate.
这个计数器显示的是错误数量,而不是重新获取的页面数量。
This counter displays the number of faults, without regard to the number of pages retrieved to satisfy the fault.
应用推荐