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.
doViewメソッドで、現在のポートレット URL を外部 URL (www.google.fr など) で変更してから更新する方法はありますか (新しいコンテンツを取得するため) 。
doView
よろしく。
私はこれを取り戻しています。できることは、processAction() で、最後に actionResponse.sendRedirect(String url) を実行できることです。
これは doView() メソッドをまったく呼び出しません。doView() のみで実行したい場合は、javascript を使用して window.location を変更する必要があると思います。これにより、www.google.fr にリダイレクトされます。
詳細がありましたらお知らせください。