Browse page on the network error link prompts a variety of, 404notfound is also considered a very common problem, I believe that the Internet family have encountered the situation, when we open a webpage will appear prompt: 404NotFound, see the page mood is bad, 404notfound is mainly used for the browser can not crawl the information inside the page, is to guide readers to continue to browse the site of other pages or do not do anything, this is a good survey of the site experience.
When the site's users and search engines do not exist on the site of the page, the server terminal will return 404 error page, if the webmaster did not give the website design humanized 404 pages, that service will return the default error message page, the user can not go through the wrong page to other pages, such a site construction method, In the SEO perspective, is not conducive to user experience and
# 404.php, 8/10/2000.
# Traps 404 Errors and mails a notice to the webmaster.
# Requires PHP 3.0 or newer, and mail capability on your system.
#
# Copyright Shaun@shat.net under the GNU public License.
# disclaimer:i wrote this script for me, and it works for me.
# If it doesnt work for you, or makes your server explode,
# thats life. Please email with questions or bug reports.
# Set These variables to con
What is Error 404?
An HTTP 404 error means that the webpage to which the link points does not exist, that is, the URL of the original webpage is invalid. This situation often occurs and is difficult to avoid. For example: the original URL address cannot be accessed because the webpage URL generation rules are changed, the webpage file is renamed or moved, and the imported link is misspelled. When the Web se
When developing a Web site with ASP. WebForm, you need to customize the 404 error page. That's the way it is.Set up a 404.html error page in the root directory of the Web site, and then add the following code to the Global.asax file:"C #" %>Then run the site, such as a random input 111.aspx, found on Chrome will automatically redirect to this 404.html, but on IE,
recently started to operate a station, found that 404 page design is very important, and now a lot of sites 404 pages will be seeking children (national lost or abducted children's page), of course, will also find some of the site's 404 pages do a very fun, or to find a page of people a comfort it! It is the existence of 404
The 404 page is now at midnight 01:39. Here we want to popularize 404 public welfare activities. When the website you are visiting has a problem or the user tries to access a non-existent page, the server (nginx) will return an error message with the Status Code 404, the corresponding page is the 404 page. The default
What is an error page? refers to a link to the page is now invalid, the reason may be the user has lost the wrong address, may also be the site structure adjustment, content deletion, or address changes are likely to occur this situation. So how do you deal with the situation? The method is to design a 404 page individually.
The purpose of the 404 page is to tell the user that the current page does not exi
Lt ;? # 404.php, 8/10/2000. # Traps404errorsandmailsanoticetothewebmaster. # RequiresPHP3.0ornewer, andmailcapabilityonyoursystem. # Copyright2000shaun@shat.netundertheG
# 404.php, 8/10/2000.# Traps 404 errors and mails a notice to the webmaster.# Requires PHP 3.0 or newer, and mail capability on your system.## Copyright 2000 shaun@shat.net under the GNU Public
New Zealand ProgrammerAsp. NET site set 404 custom error pageWhen developing a Web site with ASP. WebForm, you need to customize the 404 error page. That's the way it is.Set up a 404.html error page in the root directory of the Web site, and then add the following code to the Global.asax file:Then run the site, such as a random input 111.aspx, found on Chrome wil
Web. XML configuration file, configuration SPRINGMVC:Controller class Method:......@RequestMapping ("/checkuser")Public String checkmemberuser (httpservletrequest req,httpservletresponse Res){System.out.println ("Useraction" +userser.checkuser ()); This will work properly and the console outputsReturn "index";//After adding the * number cannot jump to the index.jsp page}The correct one should be: Remove the * number will be normal operation, you can jump to the specified page. Web. XML configura
Recently engaged in a own blog system to play, using the STRUTS2 framework, the results found two major problems:1. Unable to Export the war file;2. Generate the war, put it into Tomcat's WebApps directory, http://localhost:8080/project name/-----> 404The investigation revealed that the original project was developed by MyEclipse, and later I used the Eclipse Import project, so the errorWorkaround:1. under Eclipse, right-click Project Properties, projects FAC e TSSelect the Dynamic Web module t
See an article that lists a lot of good suggestions for customizing 404 pages, and I'll list them here:
Use appealing visual elements.
Provide alternatives for navigation.
Offer an overview of possibly related posts.
Communicate with your visitors.
Be sincere and cool.
be user-friendly.
(Don ' t) provide too many options.
(Don ' t) provide too little options.
DWYWTD (do Whatever your Want to do)
The brief translations are as follows:
Take advantage of
The recent integration of WebSocket into the project, open Web pages will always encounter such errors.There are 3 reasons for saying this online, but they are not for me, but they are also recorded.1.struts2 intercepted the WS request. This invocation can attempt to empty the Web. XML, which is the problem if it can be connected. At this point, add the following in the Struts.xml configuration file:name= "Struts.action.excludePattern" value= "ws://*" >constant>The request to WS is not interce
Cause: The DataGrid renders the header data and the style before the request to the data, then the data obj = {} value = undefined index = 0 is rendered once, and the data value undefined in the absence of Formater String connection, the formatter when the annotated data in quotation marks for strings, followed by normal data rendering; In short: is the Easyui DataGrid rendering when the empty data go through, in the normal data rendering;Solution: Determine the URL of the picture in the colum
The first time to write things with JSP, in the Webroot subfolder to write JSP, when submitted to the servlet times 404 error, the old thought is a child file problem, in fact, is not.
The fact is that the students delete this code to me, the JSP file can not find the root directory,
Copy Code code as follows:
String path = Request.getcontextpath ();
String basepath = request.getscheme () + "://" +request.getservername () + ":" +request.g
Symptom:
Tomcat can start normally in eclipse, and access to http://localhost:8080/in the browser is not accessible and is reported as 404 errors. Other project pages are not accessible at the same time.
Close Tomcat inside Eclipse and double-click Startup.bat under the Tomcat installation directory to manually start the Tomcat server. Access to htt://localhost:8080/can normally access the Tomcat administration page.
Symptom Reason:
Eclipse redirects
I downloaded a Tomcat 7.0.56 version, after configuring the environment variables, directly run the bin directory Startup.bat, in the browser input http://localhost:8080,tomcat can start normally, you can see the kitten.
After that you want to integrate Tomcat into eclipse, that is, add the downloaded Tomcat to Window>preferences>server>runtime environment, run the display startup success without loading any projects , but access to http://localhost:8080 reported
1. The most common 404 errors
1). Fool-Type Error
When you test your servlet class, enter the address of the Servlet class incorrectly in the browser's address bar; for example, your servlet class address is: Http://localhost:8080/CookieAndSession/Session1 , but you lost http://localhost:8080/CookieAndsession/Session2CookieAndSession. The project name is wrong.
This error is as long as you enter the following carefully
2 configuration Error in configu
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.