Hi there,
Any idea about the disconnection handling? Cannot find reference for this.
In my application the client may disconnect and send a new request with
different parameters. On server side I wanna clean the AsynContext held by
previous request. Right now only timeout will do, which is not
On 12/4/10 5:41 PM, Mark Eggers wrote:
> Read about using properties files. They're typically called .properties.
>
> Snippet of code that can be placed in a ServletContextListener.
>
> String resource = "some.properties";
> InputStream in =
> this.getClass().getClassLoader().getResourceAsStream
Read about using properties files. They're typically called .properties.
Snippet of code that can be placed in a ServletContextListener.
String resource = "some.properties";
InputStream in = this.getClass().getClassLoader().getResourceAsStream(resource);
try {
props.load(in);
in.close()
http://commons.apache.org/configuration/ ?
On Sat, Dec 4, 2010 at 6:58 AM, srd.pl wrote:
>
> Hello,
>
> I have a quick question considering my rest webservice. I would like to
> place an .ini file with configuration parameters inside an war file, so
> that
> I can change them wile the app is dep
Hello,
i would like to support your work on developing a (Linux) system independent
package or Debian package. We have developed something similar for our own
private needs (http://sourceforge.net/projects/smsgw/files/installer/1.11/)
but we are currently switched back to building binary Debian pa
Hello,
I have a quick question considering my rest webservice. I would like to
place an .ini file with configuration parameters inside an war file, so that
I can change them wile the app is deployed on tomcat without recompiling.
Can any give an advice on how to do this? And how to open this file
Hi Konstantin & Pid,
Thank you for your reply. My tomcat is apache-tomcat-6.0.14, I start tomcat
by bin/startup.sh and stop by bin/shutdown.sh
There is no conf/Catalina/localhost/myapp.xml
I find the folder Catalina/localhost under $CATALINE_HOME/work, but I don't
find any xml file under it. The