Solved

Session object path retrival

Posted on 2012-04-09
7
378 Views
Last Modified: 2012-05-18
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
0
Comment
Question by:darien_software
  • 3
  • 3
7 Comments
 
LVL 23

Assisted Solution

by:wdosanjos
wdosanjos earned 334 total points
ID: 37824145
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
 

Author Comment

by:darien_software
ID: 37824174
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
 
LVL 23

Accepted Solution

by:
wdosanjos earned 334 total points
ID: 37824191
You can try searching all the source code for the string setAttribute("year" perhaps that will point you to the right place.
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

Author Comment

by:darien_software
ID: 37824213
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
 
LVL 23

Expert Comment

by:wdosanjos
ID: 37824284
Ctrl+H, enter the search criteria, make sure Scope is set to Workspace, and hit Search.
0
 

Author Comment

by:darien_software
ID: 37824306
ok will try and get back..thanks wdosanjos
0
 
LVL 20

Assisted Solution

by:Sathish David Kumar N
Sathish David  Kumar N earned 166 total points
ID: 37836164
>>>>>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

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Python Assistance 7 73
Unexpected HttpURLConnection connection behavior 2 84
diffSum example 4 23
reverse digits of a number using for loop 5 36
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now