Have to render a disclaimer notice upon loginHave to render a disclaimer notice upon loginhttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1215455862024-03-28T20:40:36Z2024-03-28T20:40:36ZHave to render a disclaimer notice upon loginburhan batawalahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1215455852022-10-21T15:07:53Z2022-10-21T14:16:52Z<p>Upon user login I have to display the content of the text file
configured in the portal using product-config.xml.</p>
<p>I am able to read the content of the text file using FileUtil.read()
passing the path of the file using
PropsUtil.get("filepath"). Now I am adding the read string
into session attribute.</p>
<p>In portal_normal.vm:<br /> #set($disclaimer = ($request.getSession().getAttribute("DISCLAIMER")))</p>
<p> </p>
<p>but I am not able to get the content in $disclaimer.</p>
<p> </p>
<p>Where I am wrong and what I should do ?</p>
<p> </p>
<p>Regards</p>
<p> &l