Hi,
Sachin,

Solution : 1
You can use final class
and put your passing information there.
and again use that class into another servlet.

When you reffer to another servlet and if you want that parameter to be retrieved then again reffer to
that final class. (obviously members should be static)

Solution : 2

you can use "Serilization Stuffs" to make the object Serialized.
and make use of Syncronization.

So that when again u reffer to that object you can retrieve the value.

In Java state-of-art-of-the-programming, you can take advantage of "Serialization Mechanism"
 
 

bye
Paresh
[EMAIL PROTECTED]

sachin rameshrao zingade wrote:

Hi I want to pass a variable from one servlet to the other ,how to do this? sachin 

--
 

  ------------E-Card For Paresh M Gheewala----------------
  [EMAIL PROTECTED] / Software Engineer ( R & D )
  [ Versaware Technologies (I) Pvt. Ltd. ]
  'E' Building, Liberty, North Main Road,
  Koregoan Park Pune -1 ( Maharastra ) - 411001. India.
  Ph : +91-020-4355284 (R - Pune)
       +91-0261-420668 (R - Surat)
       +91-020-636028 (O)
  Visit : http://www.versaware.com
  ---------------T h a n k   Y o u -----------------------
 

Reply via email to