How does Weblogic Server interpret HTTP requests?
When the Weblogic server receives an HTTP request, it interprets the request as follows: by decomposing each part of the URL, then, based on the information, decide which WEB application or server should process the request. The following example demonstrates different combinations of requests for WEB applications, virtual hosts, servlets, JSPs, and static files and their response results.
Note: If you package a WEB application into a part of an enterprise application, you can provide a predefined name for the WEB application and use this name to explain the request to the WEB application. For more information, refer to deploying WEB applications as part of enterprise applications.
The following table provides some URLs examples and the files that the Weblogic Server provides services. The Index Directories Checked column refers to the Index directory attribute, which controls whether to display the directory list when there is no specific file request. Use the Configuration/Files tab of the Web Applications node on the management console to set the Index Directory.
Table 8-2 What is the URL Index Directories Checked? Response File
Http: // host: port/apples no defines the initial page in the WEB application apples *
Http: // host: port/apples yes file list in the top-level Directory of the WEB application apples
Http: // host: port/oranges/naval is unrelated to the web ing to (<url-pattern>) in the WEB application apples) /naval servlet also has some considerations for servlet ing. For more information, refer to configuring Servlets
Http: // host: port/naval unrelated when the WEB application apples is defined as the default WEB application, the WEB ing in the WEB application apples is (<url-pattern>) for more information about/naval servlet, see configuring Servlets.
Http: // host: port/apples/pie. jsp is irrelevant to pie. jsp in the top-level Directory of the WEB application apples.
Http: // host: port yes default top-level directory file list of WEB applications
Http: // host: port no default WEB application initial file
Http: // host: port/apples/myfile.html in the applestop-layer Directory
Http: // host: port/myfile.html is irrelevant. myfile.html in the applestop-layer Directory of the webapplication program
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.