Session object path retrival

Hi
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..

thanks
darien_softwareAsked:
Who is Participating?
 
wdosanjosConnect With a Mentor Commented:
You can try searching all the source code for the string setAttribute("year" perhaps that will point you to the right place.
0
 
wdosanjosConnect With a Mentor Commented:
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.
0
 
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
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

 
darien_softwareAuthor Commented:
hi
i am manually checking each source fill to find out about it but its too vast ..is there a way / tool in eclipse which can search through all source code and point out where that string is
0
 
wdosanjosCommented:
Ctrl+H, enter the search criteria, make sure Scope is set to Workspace, and hit Search.
0
 
darien_softwareAuthor Commented:
ok will try and get back..thanks wdosanjos
0
 
Sathish David Kumar NConnect With a Mentor ArchitectCommented:
>>>>>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 .....
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.