Expand my Community achievements bar.

SOLVED

Set slinghttpservletrequest attributes in slingservlet and Use those in sightly

Avatar

Level 4

Hi,

I have a requirement to-

1)path based slinghttpservlet to execute some business logic and set attributes a, b in the slinghttpservletrequest

2)Use the above set slinghttpservletrequest attributes, i.e a and b in sightly code.

Please suggest how can slingMOdel with adaptable as slingHttpSErvletRequest could be used for the above usecase

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
1 Reply

Avatar

Correct answer by
Community Advisor