Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
への着信 HTTPPOST要求があるとし/first/pathます。
POST
/first/path
新しいものを追加してこれをHeader1転送するサンプルJavaコードはありますかPOST/second/path.
Header1
/second/path.
RequestDispatcherこれは、 Spring フィルター内のサービスを使用したサーバー側の転送です。これは、フィルタをチェーンするだけではなく、URL 転送である必要があります。
RequestDispatcher
この投稿は、あなたが探しているものに最適です。
https://stackoverflow.com/a/4206094/1354978
編集可能なヘッダー付き。