Even the redirect page carries useful information: the underlying error message which might be logged and even used to auto-generate a bug report for programmers to deal with later.
重定向页面也提供了有用的信息:基本的错误消息可能被记入日志,甚至自动为程序员生成bug报告,用于后续处理。
This section describes how to redirect a user to a new page based on the link clicked.
本节介绍了如何基于所单击的链接将用户重定向到一个新的页面。
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.
如果未授权的访问者试图输入错误的密码,您可以选择显示一个空白页面、重定向到一个不同的URL,或者返回到先前的页面。
It is simpler than Listing 2 and it implements an HTML redirect to send visitors to a regular page on my site.
它比清单2中的要简单,实现了html重定向,将访问者定位到我的站点内的一个页面。
Login with the server credentials, which will redirect you to settings.jsp page.
使用服务器凭证登录服务器,这会将您重定向到settings . jsp页面。
All this page does is redirect the user to calculator.jsp under the "calc" Web context. This puts the calculator.jsp.
该页面所做的所有事情就是将用户重定向到“calc”Web上下文下的calculator. jsp。
Void respond (RequestCycle) is called to create a response, that is, generate a Web page or do a redirect.
调用voidrespond (RequestCycle)是为了创建响应,即生成Web页面或是进行重定向。
The loadTag can be used to redirect to a different page, or display "pop-up"-type pages (pass 'new' as the $show variable).
loadTag可用于重定向到另一个页面,或显示 “弹出” 类型的页面(传递 ‘new’作为 $show变量)。
Some developers and Web hosts instead redirect users to the 404 error page with a temporary or permanent redirect.
有的开发人员和Web主机不把用户定向到404出错页,相反,却重定向到临时或永久的重定向页面。
Editors working on the fly from mobile devices will have to click a link reading "View this page on main Wikipedia" to disable the redirect.
通过移动设备工作的编辑者必须点击“Viewthispageonmain Wikipedia”来取消这种重定向。
If the user role is not what was expected, then we redirect the user to an error page.
如果这个用户角色不是我们预期的,就会把用户重定向到一个错误页面。
A successful registration will return a confirmation message and redirect the user to the appropriate menu page.
一个成功的注册会返回一条确认消息并指导用户转到适当的菜单页。
If the information is not there (or in this case, if the session itself was never created), we know the user has not logged in and redirect them to a login page.
如果信息“不”在那儿(或者在本例中,会话本身从未被创建),我们知道用户尚未登录,并让它们转到登录页面。
I use JSF navigation rules to redirect the page.
我使用JSF导航规则来重定向页面。
Finally, redirect the agent to the launched dynamic page.
最后,将代理人员重定向到启动的动态页面。
An unauthenticated attempt to access the home page will redirect you to the log-in page, shown in Figure 12.
如果未通过身份验证,尝试访问主页时,将会被重定向到登录页面,如图12所示。
If a user isn't logged in, you can redirect that user to a login page.
如果用户没有登录,那么可以将用户重定向到登录页面。
The one page created just after Eriksen's biography wouldn't really count, since it's simply a redirect to one of the site's many disambiguation pages.
但由于它只是众多消歧页面之一,因此这个在埃里克森小传创建后不久新编辑的页面也许并不算数。
This situation is often exploited by intruders in a mashup page in order to side-step browser restrictions and to redirect sensitive data that is then recorded.
一个mashup页面中的入侵者常常利用这种情况来绕开浏览器限制并重定向敏感数据,然后再记录这些数据。
This default login page can be customized to redirect the user to the correct SaaS application login page.
可对默认登录页面进行自定义,以将用户重定向到正确的Saas应用程序登录页面。
After the text is parsed and the Employee objects are created, redirect the user back to the same page with an empty form.
当文本被解析且Employee对象被创建后,将用户重定向回包含一个空白表单的相同页面。
If you have moved a page or your entire website, you can use the 301.htaccess to redirect to a new URL.
如果你移动一个页面或整个网站,你可以通过301. htaccess重定向到新的URL。
The implementation of this cookie check is performed as a redirect back to the page being accessed.
cookie检查是在重定向返回到正在访问的页面时执行的。
By default, JSF forwards from one XHTML page to another, but you can redirect instead by specifying the faces-redirect parameter, as illustrated in Listing 11.
默认情况下,JSF将从一个XHTML页面转至另一个xhtml页面,但是通过指定faces - redirect参数可以重定向,如清单11所示。
Finally, it redirects the user back to the student_add.php page using the redirect function that is part of the URL Helper file.
最后,它会使用redirect函数(URLHelper文件的一部分)将用户重定向回student_add . php页面。
Finally, it redirects the user back to the student_add.php page using the redirect function that is part of the URL Helper file.
最后,它会使用redirect函数(URLHelper文件的一部分)将用户重定向回student_add . php页面。
应用推荐