I wanted 2 servlets to ( not in the same server) to communicate and they
should keeep track of the session. I have tried every possibility using cookies the servlet at the other end does not keep the session. It creates
a new session on each request. But it sends cookies to the client servlet.
And the client servlet also sends the cookie to the server servlet , but still
the session is not persistent.
And one more thing is there no other way to restarting tomcat each time
a servlet is modified.
Jonathan Eric Miller wrote:
I'm wondering if the developers of Tomcat might consider implementing
something in Tomcat so that a user can add a setting to server.xml similar
to how other log files are configured so that you can redirect System.err
and System.out to files.IMHO, this would be very useful. In fact, I suspect that many developers and
users might prefer that these be redirected to files by default.I know about the redirecting the shell script output, but I still think it
would be very useful to have it configurable within server.xml. One reason
is that on Windows it is not as easy as doing a "startup.bat > stdout.log."
That doesn't seem to capture the output since a separate window is being
created. So, I'm guessing that you would have to modify the batch file to
get it to work.I would much prefer modifying server.xml to get this to work.
Note, if you reply, please reply to [EMAIL PROTECTED] because I am not
subscribed to this list.Thanks, Jon
-- ____________________________________________________________________ | |Hostel address:- | | N.Rajesh Babu | room no 111, | | M.Tech , Dept of cse | manas hostel, | | Indian Institute of Technology Guwahati | IIT Guwahati, | | Guwahati , ASSAM | North Guwahati, | | | Guwahati, Assam | | ph :- home | 0091-8623-41013 | India | | hostel | 0091-361-790124 | | | e-mail:- [EMAIL PROTECTED] | | | [EMAIL PROTECTED] | | | [EMAIL PROTECTED] | | | [EMAIL PROTECTED] | | |_________________________________________|_________________________|