Concerning servlets,

If I have 2 different servlets, one called Print and another called List,
where Print prints a specified file (ie. http://localhost:33140/Print/test.txt)
and List prints out the names of files called from the Print servlet. How
do I share the data from Print into List?

So far, I've tried to store the file names in a Vector in the Print servlet
and when List is called (ie. http://localhost:33140/List), I try to instantiate
an instance of Print (in the run method) and call a getFiles function which
returns the Vector of file names previously mentioned. However, it appears
to create a new instance of Print with an empty Vector and not use the existing
one.

Any suggestions?

~Matt