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
  • 13,439
  • 5
  • 35
  • 53