Passing reference via object
Guys, I m using get set method. and I m using set method of 1 servlet class to pass the parameter to other class. I m using jsp get the result. but i got the problem like I m unable to pass my reference value of set method in servlet. Any 1 can tell me? suggestion...etc
Re: Passing reference via object
First, it helps to provide more context to your question with code examples to show exactly what you are doing. Based upon what I presume you want to accomplish, it seems you want to set a session variable...get the HttpSession and call setAttribute. This will allow you access to said object throughout the session.