{"id":375,"date":"2023-12-14T15:27:23","date_gmt":"2023-12-14T07:27:23","guid":{"rendered":"http:\/\/ericw.top\/?p=375"},"modified":"2024-09-06T14:52:39","modified_gmt":"2024-09-06T06:52:39","slug":"java-web-%e5%9f%ba%e6%9c%ac%e6%a6%82%e5%bf%b5","status":"publish","type":"post","link":"http:\/\/ericw.top\/?p=375","title":{"rendered":"Java Web \u57fa\u672c\u6982\u5ff5"},"content":{"rendered":"<h1 id=\"toc-0\">Java Web \u57fa\u672c\u6982\u5ff5<\/h1>\n<p><strong>Java Web<\/strong>\uff0c\u662f\u7528Java\u6280\u672f\u6765\u89e3\u51b3\u76f8\u5173<strong>web\u4e92\u8054\u7f51\u9886\u57df\u7684\u6280\u672f\u6808<\/strong>\u3002web\u5305\u62ec\uff1a<strong>web\u670d\u52a1\u7aef<\/strong>\u548c<strong>web\u5ba2\u6237\u7aef<\/strong>\u4e24\u90e8\u5206\u3002Java\u5728\u5ba2\u6237\u7aef\u7684\u5e94\u7528\u6709<strong>Java Applet<\/strong>\uff0c\u4e0d\u8fc7\u4f7f\u7528\u5f97\u5f88\u5c11\uff0cJava\u5728\u670d\u52a1\u5668\u7aef\u7684\u5e94\u7528\u975e\u5e38\u7684\u4e30\u5bcc\uff0c\u6bd4\u5982Servlet\uff0cJSP\u3001\u7b2c\u4e09\u65b9\u6846\u67b6\u7b49\u7b49\u3002Java\u6280\u672f\u5bf9Web\u9886\u57df\u7684\u53d1\u5c55\u6ce8\u5165\u4e86\u5f3a\u5927\u7684\u52a8\u529b\u3002<\/p>\n<h2 id=\"toc-1\">\u57fa\u672c\u6982\u5ff5<\/h2>\n<p><strong>Web\u5f00\u53d1\uff1a<\/strong><\/p>\n<ul>\n<li>Web\u2014\u7f51\u9875  \uff08\u4f8b\uff1awww.baidu.com\uff09<\/li>\n<li>\u9759\u6001Web\n<ul>\n<li>html  css<\/li>\n<li>\u63d0\u4f9b\u7ed9\u6240\u6709\u4eba\u770b\u7684\u6570\u636e\u59cb\u7ec8\u4e0d\u4f1a\u53d1\u751f\u53d8\u5316<\/li>\n<\/ul>\n<\/li>\n<li>\u52a8\u6001Web\n<ul>\n<li>\u4f8b\uff1a\u6dd8\u5b9d\uff0c\u89c6\u9891\u7f51\u7ad9\u7b49\uff0c\u51e0\u4e4e\u6240\u6709\u7684\u7f51\u7ad9<\/li>\n<li>\u63d0\u4f9b\u7ed9\u6240\u6709\u4eba\u770b\u7684\u6570\u636e\u59cb\u7ec8\u4f1a\u53d8\u5316\uff0c\u6bcf\u4e2a\u4eba\u5728\u4e0d\u540c\u7684\u65f6\u95f4\uff0c\u4e0d\u540c\u7684\u5730\u70b9\uff0c\u770b\u5230\u7684\u4e0d\u540c\u7684\u4fe1\u606f<\/li>\n<li>\u6280\u672f\u6808\uff1aServlet\/Jsp\uff0cASP\uff0cPHP<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u5728Java\u4e2d\uff0c<strong>\u52a8\u6001Web\u8d44\u6e90\u5f00\u53d1<\/strong>\u7684\u6280\u672f\u7edf\u79f0\u4e3a\uff1a<strong>JavaWeb<\/strong><\/p>\n<blockquote>\n<p>\u6240\u8c13\u7684\u52a8\u6001Web\uff0c\u662f\u6307\u8ddf\u9759\u6001Web\u76f8\u5bf9\u7684\u4e00\u79cd\u7f51\u9875\u7f16\u7a0b\u6280\u672f\u3002\u9759\u6001\u7f51\u9875\uff0c\u968f\u7740html\u4ee3\u7801\u7684\u751f\u6210\uff0c\u9875\u9762\u7684\u5185\u5bb9\u548c\u663e\u793a\u6548\u679c\u5c31\u57fa\u672c\u4e0a\u4e0d\u4f1a\u53d1\u751f\u53d8\u5316\u4e86\u2014\u2014\u9664\u975e\u4f60\u4fee\u6539\u9875\u9762\u4ee3\u7801\u3002\u800c<strong>\u52a8\u6001\u7f51\u9875<\/strong>\u5219\u4e0d\u7136\uff0c\u9875\u9762\u4ee3\u7801\u867d\u7136\u6ca1\u6709\u53d8\uff0c\u4f46\u662f\u663e\u793a\u7684\u5185\u5bb9\u5374\u662f\u53ef\u4ee5<strong>\u968f\u7740\u65f6\u95f4\u3001\u73af\u5883\u6216\u8005\u6570\u636e\u5e93\u64cd\u4f5c\u7684\u7ed3\u679c\u800c\u53d1\u751f\u6539\u53d8\u7684<\/strong>\u3002<\/p>\n<\/blockquote>\n<h2 id=\"toc-2\">Web\u5e94\u7528\u7a0b\u5e8f<\/h2>\n<p><strong>Web\u5e94\u7528\u7a0b\u5e8f\uff1a<\/strong>Web\u5e94\u7528\u7a0b\u5e8f\u662f\u4e00\u79cd\u5229\u7528\u7f51\u7edc\u6d4f\u89c8\u5668\u548c\u7f51\u7edc\u6280\u672f\u5728\u4e92\u8054\u7f51\u4e0a\u6267\u884c\u4efb\u52a1\u7684\u8ba1\u7b97\u673a\u7a0b\u5e8f\u3002<\/p>\n<p>Web\u5e94\u7528\u7a0b\u5e8f\u7684\u4e00\u4e2a\u6700\u5927\u597d\u5904\u662f\u7528\u6237\u53ef\u4ee5\u5f88\u5bb9\u6613\u8bbf\u95ee\u5e94\u7528\u7a0b\u5e8f\u3002<strong>\u7528\u6237\u53ea\u9700\u8981\u6709\u6d4f\u89c8\u5668\u5373\u53ef<\/strong>\uff0c\u4e0d\u9700\u8981\u518d\u6309\u7167\u5176\u4ed6\u8f6f\u4ef6\u3002<\/p>\n<ul>\n<li>a.html\u3001b.html\u2026\u591a\u4e2aweb\u8d44\u6e90\uff0c\u8fd9\u4e9bweb\u8d44\u6e90\u53ef\u4ee5\u88ab\u5916\u754c\u8bbf\u95ee\uff0c\u5bf9\u5916\u754c\u63d0\u4f9b\u670d\u52a1<\/li>\n<li>\u80fd\u8bbf\u95ee\u5230\u7684\u4efb\u4f55\u4e00\u4e2a\u9875\u9762\u4ee5\u53ca\u8d44\u6e90\u90fd\u5b58\u5728\u4e8e\u67d0\u4e00\u4f4d\u7f6e\u7684\u8ba1\u7b97\u673a\u4e0a\u3002<\/li>\n<li>URL<\/li>\n<li>\u8fd9\u4e2a\u7edf\u4e00\u7684web\u8d44\u6e90\u4f1a\u88ab\u653e\u5728\u540c\u4e00\u4e2a\u6587\u4ef6\u5939\u4e0b\uff0cweb\u5e94\u7528\u7a0b\u5e8f\u2013&gt;Tomcat\uff1a\u670d\u52a1\u5668<\/li>\n<li>\u4e00\u4e2aweb\u5e94\u7528\u7531\u591a\u90e8\u4efd\u7ec4\u6210\uff08\u9759\u6001web\uff0c\u52a8\u6001web\uff09\n<ul>\n<li>html, css , js<\/li>\n<li>jsp , servlet<\/li>\n<li>java\u7a0b\u5e8f<\/li>\n<li>jar\u5305<\/li>\n<li>\u914d\u7f6e\u6587\u4ef6\uff08Properties\uff09<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><strong>web\u5e94\u7528\u7a0b\u5e8f\u7f16\u5199\u5b8c\u6bd5\u540e\uff0c\u82e5\u60f3\u63d0\u4f9b\u7ed9\u5916\u754c\u8bbf\u95ee\uff1a\u9700\u8981\u4e00\u4e2a\u670d\u52a1\u5668\u6765\u7edf\u4e00\u7ba1\u7406\uff1b<\/strong><\/p>\n<h2 id=\"toc-3\">\u52a8\u6001Web<\/h2>\n<p>\u9875\u9762\u4f1a\u52a8\u6001\u7684\u5c55\u793a<\/p>\n<blockquote>\n<p>&quot;Web\u9875\u9762\u4f1a\u56e0\u4eba\u800c\u5f02&quot;<\/p>\n<\/blockquote>\n<p><img decoding=\"async\" src=\"C:\\Users\\MI\\AppData\\Roaming\\Typora\\typora-user-images\\1702538321619.png\" alt=\"1702538321619\" \/><\/p>\n<p><strong>\u7f3a\u70b9\uff1a<\/strong><\/p>\n<ul>\n<li>\u5f53\u52a0\u5165\u670d\u52a1\u5668\u7684\u52a8\u6001Web\u51fa\u4e86\u95ee\u9898\uff0c\u9700\u8981\u91cd\u65b0\u7f16\u5199\u540e\u53f0\u7a0b\u5e8f\uff0c\u91cd\u65b0\u53d1\u5e03<\/li>\n<\/ul>\n<p><strong>\u4f18\u70b9\uff1a<\/strong><\/p>\n<ul>\n<li>Web\u9875\u9762\u53ef\u4ee5\u52a8\u6001\u66f4\u65b0\uff0c\u6240\u6709\u7528\u6237\u770b\u5230\u7684\u4e0d\u662f\u540c\u4e00\u4e2a\u9875\u9762<\/li>\n<li>\u4ed6\u53ef\u4ee5\u548c\u6570\u636e\u4ea4\u4e92\uff08\u6570\u636e\u6301\u4e45\u5316\uff1a\u6ce8\u518c\uff0c\u5546\u54c1\u4fe1\u606f\uff0c\u7528\u6237\u4fe1\u606f\uff09<\/li>\n<\/ul>\n<p>(1)\u52a8\u6001\u7f51\u9875\u4e00\u822c\u4ee5<strong>\u6570\u636e\u5e93\u6280\u672f\u4e3a\u57fa\u7840<\/strong>\uff0c\u53ef\u4ee5\u5927\u5927\u964d\u4f4e\u7f51\u7ad9\u7ef4\u62a4\u7684\u5de5\u4f5c\u91cf\uff1b<\/p>\n<p>(2)\u91c7\u7528<strong>\u52a8\u6001\u7f51\u9875\u6280\u672f\u7684\u7f51\u7ad9\u53ef\u4ee5\u5b9e\u73b0\u66f4\u591a\u7684\u529f\u80fd<\/strong>\uff0c\u5982\u7528\u6237\u6ce8\u518c\u3001\u7528\u6237\u767b\u5f55\u3001\u5728\u7ebf\u8c03\u67e5\u3001\u7528\u6237\u7ba1\u7406\u3001\u8ba2\u5355\u7ba1\u7406\u7b49\u7b49\uff1b<\/p>\n<p>(3)\u52a8\u6001\u7f51\u9875\u5b9e\u9645\u4e0a\u5e76\u4e0d\u662f\u72ec\u7acb\u5b58\u5728\u4e8e\u670d\u52a1\u5668\u4e0a\u7684\u7f51\u9875\u6587\u4ef6\uff0c\u53ea\u6709<strong>\u5f53\u7528\u6237\u8bf7\u6c42\u65f6\u670d\u52a1\u5668\u624d\u8fd4\u56de\u4e00\u4e2a\u5b8c\u6574\u7684\u7f51\u9875<\/strong>\uff1b<\/p>\n<p>(4)\u52a8\u6001\u7f51\u9875\u4e2d\u7684<code class=\"prettyprint\" >?<\/code>\u5bf9\u641c\u7d22\u5f15\u64ce\u68c0\u7d22\u5b58\u5728\u4e00\u5b9a\u7684\u95ee\u9898\uff0c\u641c\u7d22\u5f15\u64ce\u4e00\u822c\u4e0d\u53ef\u80fd\u4ece\u4e00\u4e2a\u7f51\u7ad9\u7684\u6570\u636e\u5e93\u4e2d\u8bbf\u95ee\u5168\u90e8\u7f51\u9875\uff0c\u6216\u8005\u51fa\u4e8e\u6280\u672f\u65b9\u9762\u7684\u8003\u8651\uff0c\u641c\u7d22\u4e4b\u4e2d\u4e0d\u53bb\u6293\u53d6\u7f51\u5740\u4e2d<code class=\"prettyprint\" >?<\/code>\u540e\u9762\u7684\u5185\u5bb9\uff0c\u56e0\u6b64\u91c7\u7528\u52a8\u6001\u7f51\u9875\u7684\u7f51\u7ad9\u5728<strong>\u8fdb\u884c\u641c\u7d22\u5f15\u64ce\u63a8\u5e7f\u65f6\u9700\u8981\u505a\u4e00\u5b9a\u7684\u6280\u672f\u5904\u7406<\/strong>\u624d\u80fd\u9002\u5e94\u641c\u7d22\u5f15\u64ce\u7684\u8981\u6c42\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Java Web \u57fa\u672c\u6982\u5ff5 Java Web\uff0c\u662f\u7528Java\u6280\u672f\u6765\u89e3\u51b3\u76f8\u5173web\u4e92\u8054\u7f51\u9886\u57df\u7684\u6280\u672f\u6808\u3002web\u5305\u62ec\uff1a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":376,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,5],"tags":[],"_links":{"self":[{"href":"http:\/\/ericw.top\/index.php?rest_route=\/wp\/v2\/posts\/375"}],"collection":[{"href":"http:\/\/ericw.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/ericw.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/ericw.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/ericw.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=375"}],"version-history":[{"count":1,"href":"http:\/\/ericw.top\/index.php?rest_route=\/wp\/v2\/posts\/375\/revisions"}],"predecessor-version":[{"id":377,"href":"http:\/\/ericw.top\/index.php?rest_route=\/wp\/v2\/posts\/375\/revisions\/377"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/ericw.top\/index.php?rest_route=\/wp\/v2\/media\/376"}],"wp:attachment":[{"href":"http:\/\/ericw.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/ericw.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=375"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/ericw.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}