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.
クラスにリスト型の属性を設定しようとしており、次を使用してクラスからjspに属性を取得しています:
最初に使用して属性を設定します
actionRequest.setAttribute("SEARCH_RESULT",result);
以下を使用してオブジェクトを取得するには
request.getAttribute("SEARCH_RESULT");
しかし、上記のコードは常にnull「なぜ?」を生成します。
null
renderRequest.getAttribute(--) を使用する
詳細については、以下のリンクをご覧ください
Liferay MVC ポートレット開発