on 04-25-2013 7:34 AM
Hi All,
We are tring to implment autologoff feature in CE 7. Portal by using the following document::
We are facing problem with ::
" componentRequest.getWebResourcePath() " which is present in the TimeOut.jsp in the above link.
We are getting an error message as "componentRequest" is Depricated.
Could you please suggest any alternate solution for this in CE7.1.
Thanks in advance:)
Regards,
Satya
Use either of below:
1#
<%@page import="com.sapportals.portal.prt.component.IPortalComponentRequest"%>
IPortalComponentRequest currentRequest = (IPortalComponentRequest) pageContext.getAttribute(javax.servlet.jsp.PageContext.REQUEST );
String mimeUrl = currentRequest.getWebResourcePath();
or
2#
String mimeUrl = request.getContextPath();
Hope it will help!
MS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.