In debugging. Where are the variables available for JSP?

I am currently trying to debug through JSP to find the value of the secret variable to be transferred from the interceptor to which I cannot connect the source - and therefore I cannot debug the interceptor.

I read several posts in which it is very difficult to find the variables available by JSP if you are debugging them, but unfortunately, this may be one way to solve my problem.

Does anyone know of any articles that describe in detail the structure of JSP variables or, more specifically, which objects store these values?

As a side note, I use Eclipse for development / debugging.

+4
source share
2 answers

with a vague question, I can give some vague answers:

implicit objects:

  • answer
  • Request

From these, you can get cookies and session variables. Is this what you are asking for?

+1
source

Is your JSR-45 container (as far as I remember the JSR number) a compatible container? If so, you can attach your IDE to it to debug the JSP, by the way, it is somehow difficult to find the variables.

+1
source

Source: https://habr.com/ru/post/1399884/


All Articles