{"id":1832,"date":"2016-12-27T15:01:48","date_gmt":"2016-12-27T07:01:48","guid":{"rendered":"https:\/\/ai.zhousir.top\/?p=1832"},"modified":"2026-08-18T10:58:43","modified_gmt":"2026-08-18T02:58:43","slug":"%e5%88%9d%e8%af%86struts2","status":"publish","type":"post","link":"https:\/\/ai.zhousir.top\/?p=1832","title":{"rendered":"\u521d\u8bc6Struts2"},"content":{"rendered":"<section id=\"wenyan\" style=\"font-family: system-ui, 'Apple Color Emoji', 'Segoe UI', 'Segoe UI Symbol', 'Noto Sans', Roboto, sans-serif; line-height: 1.75; font-size: 16px; color: #000000; caret-color: #000000;\" data-provider=\"WenYan\">\n<p style=\"margin: 1em 0px;\">Apache Struts2 \u662f\u4e00\u5957\u6210\u719f\u7684\u3001<strong style=\"color: #4870ac;\">\u57fa\u4e8e MVC<\/strong> \u7684 Web \u5e94\u7528\u6846\u67b6\u3002\u5b83\u628a WebWork \u548c Struts 1.x \u4e24\u5957\u6846\u67b6\u7684\u957f\u5904\u5408\u5230\u4e86\u4e00\u8d77\uff0c\u7528 <strong style=\"color: #4870ac;\">OGNL \u8868\u8fbe\u5f0f<\/strong>\u548c Struts2 \u6807\u7b7e\u6765\u8bfb\u5199\u5e94\u7528\u6570\u636e\uff0c\u4ece\u800c\u7f29\u77ed\u6309 MVC \u5f00\u53d1 Web \u5e94\u7528\u7684\u65f6\u95f4\u3002<\/p>\n<p style=\"margin: 1em 0px;\">\u4e0b\u9762\u5148\u8dd1\u901a\u7b2c\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u518d\u5bf9\u7167\u5de5\u4f5c\u539f\u7406\u56fe\uff0c\u628a\u4e00\u6b21\u8bf7\u6c42\u4ece Filter \u8d70\u5230 Result \u7684\u8def\u5f84\u770b\u6e05\u695a\u3002<\/p>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u4e00\u3001Struts2 \u662f\u4ec0\u4e48<\/h2>\n<p style=\"margin: 1em 0px;\">\u53ef\u4ee5\u628a\u5b83\u7406\u89e3\u6210\uff1a\u6d4f\u89c8\u5668\u8bf7\u6c42\u8fdb\u6765\u4e4b\u540e\uff0c\u7531\u6846\u67b6\u5e2e\u4f60\u5b8c\u6210\u300c\u627e Action \u2192 \u6267\u884c\u4e1a\u52a1 \u2192 \u6309\u7ed3\u679c\u8df3\u5230 JSP \/ \u6a21\u677f\u300d\u8fd9\u4e00\u6574\u5957 MVC \u7f16\u6392\u3002\u5b98\u65b9\u7ad9\u70b9\uff1a<a href=\"http:\/\/struts.apache.org\/\" style=\"color: #4870ac; text-decoration: underline;\">http:\/\/struts.apache.org\/<\/a>\u3002<\/p>\n<table style=\"display: table; text-align: left; overflow: auto; border-collapse: collapse; margin: 1.4em auto; max-width: 100%; table-layout: fixed; overflow-wrap: break-word; word-break: break-all;\" width=\"800\">\n<thead>\n<tr>\n<th style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top; text-align: center; font-weight: bold; color: #4870ac; background: #f7f7f7;\">\u4f60\u5173\u5fc3\u7684\u4e8b<\/th>\n<th style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top; text-align: center; font-weight: bold; color: #4870ac; background: #f7f7f7;\">Struts2 \u600e\u4e48\u63a5<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u8bf7\u6c42\u8fdb\u5230\u54ea<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">web.xml \u91cc\u7684 StrutsPrepareAndExecuteFilter<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u4e1a\u52a1\u5199\u5728\u54ea<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u7ee7\u627f ActionSupport \u7684 Action<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">URL \u600e\u4e48\u5bf9\u4e0a\u7c7b<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">struts.xml \u91cc\u7684 package \/ action<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u9875\u9762\u6570\u636e\u600e\u4e48\u53d6<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">OGNL \u8868\u8fbe\u5f0f + Struts2 \u6807\u7b7e<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u4e8c\u3001\u7b2c\u4e00\u4e2a Struts2 \u7a0b\u5e8f<\/h2>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">1. \u4e0b\u8f7d jar \u5305<\/h3>\n<p style=\"margin: 1em 0px;\">\u5230 <a href=\"http:\/\/struts.apache.org\/\" style=\"color: #4870ac; text-decoration: underline;\">http:\/\/struts.apache.org\/<\/a> \u4e0b\u8f7d Struts2 \u76f8\u5173 jar\u3002<\/p>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">2. \u6700\u5c11\u8981\u5f15\u5165\u8fd9\u4e9b\u5305<\/h3>\n<p style=\"margin: 1em 0px;\">\u7f3a\u4e86\u4f1a\u76f4\u63a5\u62a5\u9519\uff0c\u5bf9\u7167\u4e0b\u56fe\u628a\u5305\u52a0\u8fdb\u9879\u76ee\uff1a<\/p>\n<p style=\"margin: 1em 0px;\"><a href=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/12\/struts2.png\" rel=\"fancybox\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1835\" src=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/12\/struts2.png\" alt=\"struts2\" width=\"229\" height=\"161\" \/><\/a><\/p>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">3. \u5b9e\u73b0 Action \u7c7b<\/h3>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 12px; background: #002b36; max-width: 100%; overflow-wrap: normal;\"><code class=\"hljs\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow-x: auto; margin: 0.5em; padding: 3px 5px; color: #93a1a1; background: #002b36; overflow-wrap: normal;\">import com.opensymphony.xwork2.ActionSupport;\n\npublic class UserAction extends ActionSupport {\n    private Logger log = Logger.getLogger(UserAction.class);\n\n    @Override\n    public String execute() throws Exception {\n        \/*\n         *  \u63a5\u6536\u8bf7\u6c42\n         *  \u6267\u884c\u4e1a\u52a1\u5904\u7406\n         *  \u8fd4\u56de\u54cd\u5e94\n         *\/\n        log.debug(\"\u6267\u884c\u6dfb\u52a0\u7528\u6237\u64cd\u4f5c >>>>>>\");\n        return SUCCESS;\n    }\n}<\/code><\/pre>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">4. \u6838\u5fc3\u914d\u7f6e struts.xml<\/h3>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 12px; background: #002b36; max-width: 100%; overflow-wrap: normal;\"><code class=\"hljs\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow-x: auto; margin: 0.5em; padding: 3px 5px; color: #93a1a1; background: #002b36; overflow-wrap: normal;\">&lt;!DOCTYPE struts PUBLIC\n    \"-\/\/Apache Software Foundation\/\/DTD Struts Configuration 2.5\/\/EN\"\n    \"http:\/\/struts.apache.org\/dtds\/struts-2.5.dtd\"&gt;\n&lt;struts&gt;\n    &lt;package name=\"student\" namespace=\"\/\" extends=\"struts-default\"&gt;\n        &lt;action name=\"user\" class=\"com.ittx.strutsproject.action.UserAction\"&gt;\n            &lt;result name=\"success\"&gt;\/sucess.jsp&lt;\/result&gt;\n        &lt;\/action&gt;\n    &lt;\/package&gt;\n&lt;\/struts&gt;<\/code><\/pre>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">5. \u914d\u7f6e web.xml<\/h3>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 12px; background: #002b36; max-width: 100%; overflow-wrap: normal;\"><code class=\"hljs\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow-x: auto; margin: 0.5em; padding: 3px 5px; color: #93a1a1; background: #002b36; overflow-wrap: normal;\">&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n&lt;web-app xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"\n    xmlns=\"http:\/\/java.sun.com\/xml\/ns\/javaee\"\n    xsi:schemaLocation=\"http:\/\/java.sun.com\/xml\/ns\/javaee http:\/\/java.sun.com\/xml\/ns\/javaee\/web-app_3_0.xsd\"\n    id=\"WebApp_ID\" version=\"3.0\"&gt;\n    &lt;display-name&gt;strutsdemo&lt;\/display-name&gt;\n    &lt;filter&gt;\n        &lt;filter-name&gt;struts2&lt;\/filter-name&gt;\n        &lt;filter-class&gt;org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter&lt;\/filter-class&gt;\n    &lt;\/filter&gt;\n    &lt;filter-mapping&gt;\n        &lt;filter-name&gt;struts2&lt;\/filter-name&gt;\n        &lt;url-pattern&gt;\/*&lt;\/url-pattern&gt;\n    &lt;\/filter-mapping&gt;\n    &lt;welcome-file-list&gt;\n        &lt;welcome-file&gt;login.jsp&lt;\/welcome-file&gt;\n    &lt;\/welcome-file-list&gt;\n&lt;\/web-app&gt;<\/code><\/pre>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">6. \u6267\u884c\u8bf7\u6c42<\/h3>\n<p style=\"margin: 1em 0px;\">\u914d\u7f6e\u597d\u4e4b\u540e\u53d1\u8bf7\u6c42\uff0c\u6210\u529f\u9875\u6548\u679c\u5982\u4e0b\uff1a<\/p>\n<p style=\"margin: 1em 0px;\"><a href=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/12\/result1.png\" rel=\"fancybox\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1838\" src=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/12\/result1.png\" alt=\"result1\" width=\"376\" height=\"90\" \/><\/a><\/p>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u4e09\u3001Struts2 \u5de5\u4f5c\u539f\u7406<\/h2>\n<p style=\"margin: 1em 0px;\">\u4e00\u6b21\u8bf7\u6c42\u5728\u6846\u67b6\u91cc\u5927\u81f4\u8d70\u4e0b\u9762\u8fd9\u5f20\u56fe\uff08\u6e90\u7801\u53ef\u770b <a href=\"https:\/\/github.com\/apache\/struts\" style=\"color: #4870ac; text-decoration: underline;\">https:\/\/github.com\/apache\/struts<\/a>\uff09\uff1a<\/p>\n<p style=\"margin: 1em 0px;\"><a href=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/12\/s1.png\" rel=\"fancybox\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1841\" src=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/12\/s1.png\" alt=\"s1\" width=\"605\" height=\"646\" \/><\/a><\/p>\n<table style=\"display: table; text-align: left; overflow: auto; border-collapse: collapse; margin: 1.4em auto; max-width: 100%; table-layout: fixed; overflow-wrap: break-word; word-break: break-all;\" width=\"800\">\n<thead>\n<tr>\n<th style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top; text-align: center; font-weight: bold; color: #4870ac; background: #f7f7f7;\">\u6b65\u9aa4<\/th>\n<th style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top; text-align: center; font-weight: bold; color: #4870ac; background: #f7f7f7;\">\u53d1\u751f\u4e86\u4ec0\u4e48<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">1<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u5ba2\u6237\u7aef\u5411 Servlet \u5bb9\u5668\uff08\u5982 Tomcat\uff09\u53d1\u8d77\u8bf7\u6c42<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">2<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u8bf7\u6c42\u7ecf\u8fc7\u4e00\u7cfb\u5217 Filter\uff1b\u5176\u4e2d\u53ef\u9009\u7684 ActionContextCleanUp \u5bf9\u548c\u5176\u4ed6\u6846\u67b6\uff08\u5982 SiteMesh Plugin\uff09\u96c6\u6210\u5f88\u6709\u5e2e\u52a9<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">3<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">StrutsPrepareAndExecuteFilter \u88ab\u8c03\u7528\uff0c\u8be2\u95ee ActionMapper\uff1a\u8fd9\u4e2a\u8bf7\u6c42\u8981\u4e0d\u8981\u8fdb\u67d0\u4e2a Action<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">4<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u82e5\u9700\u8981\u8c03\u7528 Action\uff0cFilter \u628a\u5904\u7406\u4ea4\u7ed9 ActionProxy<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">5<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">ActionProxy \u901a\u8fc7 Configuration Manager \u8bfb struts.xml\uff0c\u627e\u5230\u8981\u8c03\u7528\u7684 Action \u7c7b<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">6<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">ActionProxy \u521b\u5efa ActionInvocation \u5b9e\u4f8b<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">7<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">ActionInvocation \u6309\u547d\u540d\u6a21\u5f0f\u8c03\u7528 Action\uff1b\u8c03\u7528\u524d\u540e\u4f1a\u8d70\u76f8\u5173\u62e6\u622a\u5668\uff08Interceptor\uff09<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">8<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">Action \u6267\u884c\u5b8c\u540e\uff0c\u6309 struts.xml \u627e Result\uff1a\u901a\u5e38\u662f JSP \u6216 FreeMarker \u6a21\u677f\uff08\u4e5f\u53ef\u80fd\u662f\u53e6\u4e00\u6761 Action \u94fe\uff09\uff0c\u5c55\u793a\u65f6\u53ef\u7528 Struts2 \u6807\u7b7e\uff0c\u8fc7\u7a0b\u4e2d\u8fd8\u4f1a\u518d\u78b0\u5230 ActionMapper<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin: 1em 0px;\">\u4e0a\u8ff0\u8fc7\u7a0b\u91cc\u7684 Action\u3001Result\u3001Interceptor \u7b49\u5bf9\u8c61\uff0c\u90fd\u662f\u901a\u8fc7 <strong style=\"color: #4870ac;\">ObjectFactory<\/strong> \u521b\u5efa\u7684\u3002<\/p>\n<blockquote style=\"display: block; font-size: 0.9em; border-left: 3px solid #4870ac; padding: 0.5em 1em; margin: 0px; background: #f6f8fa; color: #40464f;\">\n<p style=\"margin: 1em 0px;\"><strong style=\"color: #4870ac;\">\u4e00\u53e5\u8bdd\u603b\u7ed3\uff1aweb.xml \u6302\u4e0a Filter\uff0cstruts.xml \u628a URL \u6307\u5230 Action\uff0cAction \u8fd4\u56de SUCCESS\uff0c\u6846\u67b6\u518d\u6309 result \u53bb\u6e32\u67d3\u9875\u9762\u3002Filter \u2192 ActionProxy \u2192 \u62e6\u622a\u5668 \u2192 Action \u2192 Result\uff0c\u5c31\u662f Struts2 \u7684\u4e00\u6761\u6d41\u6c34\u7ebf\u3002<\/strong><\/p>\n<\/blockquote>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>Apache Struts2 \u662f\u4e00\u5957\u6210\u719f\u7684\u3001\u57fa\u4e8e MVC \u7684 Web \u5e94\u7528\u6846\u67b6\u3002\u5b83\u628a WebWork \u548c St [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[59,87],"tags":[183,190],"_links":{"self":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/1832"}],"collection":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1832"}],"version-history":[{"count":3,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/1832\/revisions"}],"predecessor-version":[{"id":2939,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/1832\/revisions\/2939"}],"wp:attachment":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1832"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1832"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}