Set slinghttpservletrequest attributes in slingservlet and Use those in sightly

Avatar

Avatar
Give Back 5
Level 2
manisha594391
Level 2

Likes

4 likes

Total Posts

43 posts

Correct reply

1 solution
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile

Avatar
Give Back 5
Level 2
manisha594391
Level 2

Likes

4 likes

Total Posts

43 posts

Correct reply

1 solution
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
manisha594391
Level 2

21-04-2020

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,442 likes

Total Posts

3,318 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,442 likes

Total Posts

3,318 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

29-06-2020

Answers (0)