0

How do I pass a value throughout my project and use it anywhere in the program. .. The value is selected before the login page... I want to access it anytime and in any jsp or servelet in a project

1 Answers1

0

You can use HttpSession to do the same.

Other than this you can initialize context parameters.

Follow this link for parameters approach.

init-param and context-param

Alien
  • 15,141
  • 6
  • 37
  • 57