JSP教程:[2]指令元素之page

JSP教程:[2]指令元素之page

回复
  • 旅慧丽用户
    [[{"txt": "JSP\u7684\u6307\u4ee4\u5143\u7d20\u63cf\u8ff0\u4e86JSP\u9875\u9762\u8f6c\u6362\u6210Java\u5bb9\u5668\u6240\u80fd\u6267\u884c\u7684Java\u4ee3\u7801\u7684\u63a7\u5236\u4fe1\u606f\u3002JSP\u7684\u6307\u4ee4\u5143\u7d20\u72ec\u7acb\u4e8eJSP\u9875\u9762\u63a5\u53d7\u7684\u4efb\u4f55\u8bf7\u6c42\uff0c\u4e14\u4e0d\u4ea7\u751f\u4efb\u4f55\u8f93\u51fa\u4fe1\u606f\u3002"}, {"img": ["https://exp-picture.cdn.bcebos.com/ccc83ec5260f883534327c6ace0788013970860c.m2m?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_500%2Climit_1"]}], [{"txt": ["\u5de5\u5177/\u539f\u6599"]}, {"txt": "Eclipse"}, {"txt": "JDK"}], [{"txt": ["\u6307\u4ee4\u6982\u5ff5\u53ca\u4f7f\u7528\u8bf4\u660e"]}, {"txt": "\u6307\u4ee4\u5143\u7d20\u53ef\u4ee5\u786e\u5b9aJSP\u9875\u9762\u4f7f\u7528\u7684\u8bed\u8a00\uff0c\u5bfc\u5165\u7684\u7c7b\uff0c\u6216\u5305\u542b\u5176\u4ed6\u6587\u4ef6\u7b49\uff0c\u6216\u6307\u5b9a\u9519\u8bef\u5904\u7406\u9875\u9762\u3002\u6307\u4ee4\u5143\u7d20\u6709\u4e09\u79cd\uff0c\u5206\u522b\u4e3apage\u6307\u4ee4\uff0cinclude\u6307\u4ee4\uff0ctaglib\u6307\u4ee4\u3002\u4e0b\u9762\u6211\u4eec\u5148\u4ecb\u7ecdpage\u6307\u4ee4"}, {"txt": "\u6307\u4ee4\u7684\u683c\u5f0f\u4e3a\uff1a\u00a0\u4f7f\u7528\u4e8b\u4f8b\uff1a"}], [{"txt": ["Page\u6307\u4ee4\u5143\u7d20"]}, {"txt": "page\u6307\u4ee4\u7528\u4e8e\u5b9a\u4e49JSP\u9875\u9762\u7684\u5168\u5c40\u5c5e\u6027\uff0c\u5b83\u63cf\u8ff0\u4e86\u4e0e\u9875\u9762\u76f8\u5173\u7684\u4e00\u4e9b\u4fe1\u606f\u3002\u4f4d\u7f6e\u4e0d\u5b9a\uff0c\u4e00\u822c\u653e\u5728\u5f00\u5934,\u540c\u4e00\u9875\u9762\u53ef\u4ee5\u6709\u591a\u4e2apage\u6307\u4ee4\uff1b"}, {"txt": "page\u7684\u5c5e\u6027\u503c\u6709\u4ee5\u4e0b\u51e0\u79cd\uff1alanguage=\"java\"\u00a0\u529f\u80fd\uff1a\u8868\u793a\u811a\u672c\u7684\u8bed\u6cd5\u7b26\u5408java\u8bed\u6cd5\u89c4\u8303extends=\"package.class\"\u529f\u80fd\uff1a\u6307\u5b9a\u7f16\u8bd1JSP\u9875\u9762\u65f6\u6240\u7528\u7684\u7c7b\uff1bimport=\"\u6240\u9700\u8981\u7684\u7c7b\"\u529f\u80fd\uff1a\u5bfc\u5165\u6240\u9700\u8981\u7684\u7c7b\uff0c\u4e0ejava\u76f8\u540c\uff0c\u5982\u679c\u9700\u8981\u5bfc\u5165\u591a\u4e2a\u7c7b\uff0c\u53ef\u4ee5\u7528\uff0c\u5c06\u5404\u4e2a\u7c7b\u5206\u5f00\uff1bsession=\"true|false\";\u529f\u80fd\uff1a\u6307\u5b9a\u662f\u5426\u4f7f\u7528HTTP Session\u3002\u9ed8\u8ba4\u4e3atrue,\u5373\u8868\u793a\u4f7f\u7528\uff1bbuffer=\"none|8kb|sizekb\"\u529f\u80fd\uff1a\u6307\u5b9a\u7528\u6237JSP\u9875\u9762\u5bf9\u4e8e\u6d4f\u89c8\u5668\u7684\u8f93\u51fa\uff0c\u9ed8\u8ba4\u503c\u4e3anone\uff0c\u4e0d\u4f7f\u7528\u7f13\u51b2\u533a\uff1bautoFlush=\"true|false\"\u529f\u80fd\uff1a\u7528\u4e8ebuffer\u6ea2\u51fa\u65f6\uff0c\u5982\u679c\u4e3atrue\uff0c\u8f93\u51fa\u6b63\u5e38\uff0c\u5982\u679c\u4e3afalse,\u6ea2\u51fa\u65f6\u4f1a\u62a5\u9519\u7684\uff1bisThreadSafe=\"true|false\"\u529f\u80fd\uff1a\u8bbe\u7f6eJSP\u9875\u9762\u662f\u5426\u80fd\u591a\u7ebf\u7a0b\u4f7f\u7528\uff0c\u9ed8\u8ba4\u503c\u4e3atrue;info=\"text\"\u529f\u80fd\uff1a\u6587\u672c\u5728\u6267\u884c\u65f6\u9010\u5b57\u52a0\u5165JSP\u4e2d\uff0c\u4f7f\u7528Servlet.getServletInof\u65b9\u6cd5\u53d6\u51fa\uff1berrorPage=\"\u76f8\u5bf9\u8def\u5f84\"\u529f\u80fd\uff1a\u8bbe\u7f6e\u5f02\u5e38\u4e8b\u4ef6\u7684\u5904\u7406JSP\u6587\u4ef6\uff1bisErrorPage=\"true|false\"\u529f\u80fd\uff1a\u8bbe\u7f6e\u6b64\u9875\u9762\u662f\u5426\u4e3a\u9519\u8bef\u5904\u7406\u9875\u9762\uff0c\u9ed8\u8ba4\u503c\u4e3afalse.contentType=\"mimeType[;charset=\u5b57\u7b26\u7f16\u7801]\" |\u529f\u80fd\uff1amimeType:\u6307\u5b9a\u8fd4\u56de\u6d4f\u89c8\u5668\u7684\u5185\u5bb9\u7c7b\u578b\uff0c\u6709\u4ee5\u4e0b\u5c5e\u6027\u503c\uff1atext/plain(\u7eaf\u6587\u672c\u9875\u9762\uff09\uff0ctext/html(\u7eaf\u6587\u672c\u7684HTML)\uff0ctext/xml(xml\u754c\u9762\uff09,application/x-msexcel(Excel\u6587\u4ef6\uff09\u548capplication/x-msword(Word\u6587\u4ef6\uff09;charset\u662f\u8bbe\u7f6e\u9875\u9762\u7684\u7f16\u7801\u683c\u5f0f\uff1a\u5e38\u7528\u7684\u6709utf-8,gb2312,gbk\u7b49\u7b49"}], [{"txt": ["Page\u6307\u4ee4\u4f7f\u7528\u5b9e\u4f8b"]}, {"txt": "\u5c55\u793a\u4e00\u4e2ainfo\u5c5e\u6027\u7684\u4f7f\u7528\u3002\u8fd9\u91cc\u5b9a\u4e49\u4e86\u7f16\u7801\u4ee5\u53ca\u7f16\u8bd1\u7684\u8bed\u6cd5\u683c\u5f0f\u4e3ajava\uff0c\u8fd4\u56de\u7684\u6570\u636e\u7c7b\u578b\u4e3ahtml\uff0c\u4ee3\u7801\u5982\u4e0b\uff1a\u6d4b\u8bd5Page\u6307\u4ee4\u7684\u4f7f\u7528"}, {"txt": "\u4e0b\u9762\u5c55\u793a\u7684\u662f\u4e00\u4e2aerrorPage\u7684\u4f7f\u7528\u3002\u8fd9\u91cc\u6709\u4e24\u4e2a\u6587\u4ef6\uff0c\u4e00\u4e2a\u662fPageError.jsp\uff0c\u5373\u9875\u9762\u51fa\u73b0\u9519\u8bef\u7684\u9875\u9762\uff0c\u4e00\u4e2a\u662fError.jsp\u9875\u9762\u3002\u8fd9\u91cc\u7684\u4ee3\u7801\u5206\u522b\u5982\u4e0b\u56fe\uff1a"}, {"img": ["https://exp-picture.cdn.bcebos.com/3931cb413a8ca60854b7b148db8c9bcec6f8fe0c.m2m?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_500%2Climit_1", "https://exp-picture.cdn.bcebos.com/51cd85cec7f88a77aa65adf86e4a2f27e6eff80c.m2m?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_500%2Climit_1"]}], [{"txt": ["\u6ce8\u610f\u4e8b\u9879"]}, {"txt": "\u5982\u679cIE\u6d4f\u89c8\u5668\u6ca1\u6709\u663e\u793a\u9519\u8bef\u9875\u9762\uff0c\u8bf7\u70b9\u51fbInternet\u9009\u9879-\u300b\u9ad8\u7ea7\uff0c\u9009\u4e2d\u201d\u663e\u793a\u53cb\u597dHTTP\u9519\u8bef\u4fe1\u606f\u201d"}]]
    2024-11-22
    1楼
    回复

参与评论

游客评论不支持回复他人评论内容,如需回复他人评论内容请