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.
異なるまたは同じTomcatにインストールされている他のアプリケーションにJava(POJOクラス)オブジェクトを送信したい。
私は試してみましたが、使用中に値をrequest.setAttribute("abc",javaObj)取得し、同じTomcatで両方のアプリケーションを使用しました。私はリダイレクトjspを使用しています。nullrequest.getAttribue("abc")scope="application"
request.setAttribute("abc",javaObj)
null
request.getAttribue("abc")
scope="application"