cancel
Showing results for 
Search instead for 
Did you mean: 

Deprecated Method!

Former Member
0 Kudos

Cookie[] ck = request.getCookies();

Iam trying to read the cookies in the JSPDynpage.

It shows a little yellow icon and says:

Warning The method getCookies() from the type IPortalComponentRequest is deprecated

Iam able to read and display.But is there any alternative way..does deprecated mean, SAP won't be supporting that in itz next release??

Thank You all.

Accepted Solutions (1)

Accepted Solutions (1)

dmitryjirov
Explorer
0 Kudos

Hello Peter,

You should use the corresponding method on the servlet request object obtained by calling getServletRequest(). Please take a look at the Javadoc for the Portal Runtime.

Best regards,

Dmitry

Former Member
0 Kudos

Should have looked into Javadocs.

Thanx anyways.

Answers (0)