Solved

Session object path retrival

Posted on 2012-04-09
7
380 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
eclipse with Angularjs2.0 3 57
arguments to jar 5 35
Error in @AspectJ Based AOP with Spring 2 18
jmss example java 2 24
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

821 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