Session object path retrival

i have Session.setAttribute("year",year); year contains the year id in Integer format // that is i am setting the data to session .

my Q is how to know from which previous pages in a project , from which this year is coming   .. i.e. year.

i wish to  get the class name /  page name  either from  the session object or is there any method to get the whole details of this circumstances..

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Unless you store that information on the Session as another attribute there is no way to know from what page the year value came from.
darien_softwareAuthor Commented:
yeah thats the problem, anothe programmer has created it and he is not there now am i am doing the maintainence part and no doc record regarding this session..
for past three days searching and couldnt find any..please suggest some other way out
You can try searching all the source code for the string setAttribute("year" perhaps that will point you to the right place.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rowby Goren Makes an Impact on Screen and Online

Learn about longtime user Rowby Goren and his great contributions to the site. We explore his method for posing questions that are likely to yield a solution, and take a look at how his career transformed from a Hollywood writer to a website entrepreneur.

darien_softwareAuthor Commented:
i am manually checking each source fill to find out about it but its too vast there a way / tool in eclipse which can search through all source code and point out where that string is
Ctrl+H, enter the search criteria, make sure Scope is set to Workspace, and hit Search.
darien_softwareAuthor Commented:
ok will try and get back..thanks wdosanjos
Sathish David Kumar NArchitectCommented:
>>>>>by: wdosanjos give correct answer
Ctrl+H, enter the search criteria, make sure Scope is set to Workspace, and hit Search.

in more accurate use file search tab in the search window .....
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java EE

From novice to tech pro — start learning today.