RE: get Servlet Context Name

2001-10-01 Thread chiuming
it in application (ServletContext) scope so it's available to any Servlet/JSP. Greetings, deacon Marcus -Original Message- From: chiuming [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 02, 2001 3:19 AM To: [EMAIL PROTECTED] Subject: get Servlet Context Name hi, any way I

distinguish version between WAR file

2001-09-19 Thread chiuming
When i deploy web application, I will create a WAR file. Any way I can distinguish versions between different WAR file ( without extracting the WAR file and take a look at the manifest /META-INF/manifest.mf ) Basically, I want to know what version is it before installing / extracting.

RE: file download servlet

2001-09-12 Thread chiuming
But how exactly does web server instruct web browser to save the stream of bytes into a filename as filename on server? Does web server send any HTTP header like Content-Disposition to specify the file name to save? Since If i dont' set any HTTP headers in my servlet but just send the

file download servlet

2001-09-11 Thread chiuming
I asked this question before, but I didn't get any reply. I post it again in hope someone could give me some hint. I have a file download servlet serves web browsers. request to file is like this http://192.168.1.105/download/servlet/download?filename=song.mp3 The file on the server side is

Number of active session in Tomcat instance

2001-09-08 Thread chiuming
Hi, I had asked this question before. But I didn't get any reply. So I post this again in hope someone could help me getting number of active session Tomcat holds. The following code will return number of sessions in a Context(web app) but not all the sessions in the whole JVM (tomcat

reference to internal tomcat object (get # of sessions)

2001-09-05 Thread chiuming
Hi tomcat developers, Please help me out on getting a reference to internal tomcat object and find out total number sessions now exist in tomcat instance (JVM). The following code will return number of sessions in a Context(web app) but not all the sessions in the whole JVM (tomcat instance).

reference to internal tomcat object (get # of sessions)

2001-09-05 Thread chiuming
Hi tomcat developers, Please help me out on getting a reference to internal tomcat object and find out total number sessions now exist in tomcat instance (JVM). The following code will return number of sessions in a Context(web app) but not all the sessions in the whole JVM (tomcat instance).