Yes ..got your point...using spring its easy though
My only question is ,
can it be accessed using classloader and getResource()
Brett Delle Grazie-3 wrote:
>
> Hi,
>
> On 17 February 2011 08:36, Captain Cid wrote:
>>
>> I wish to keep configuration property file o
I wish to keep configuration property file outside my war. Suppose i keep it
tomcathome/conf/myfile.properties
How can I read it using classloader from my webapp application code. I am
not able to access it.
I tried using this.getClass().getClassLoader() or even
this.getClass().getClassLoader().
09:30 PM, Captain Cid wrote:
>> I have moved the thread creation to constructor of a class which is
>> instantiated by spring.
>>
>> Can you elaborate how to spawn thread in it using
>> javax.servlet.ServletContextListener ?
>
> As for ServlerContextListener, p
I have moved the thread creation to constructor of a class which is
instantiated by spring.
Can you elaborate how to spawn thread in it using
javax.servlet.ServletContextListener ?
Captain Cid wrote:
>
> I am having a CXF webservice impl class. In this I want to start a new
>
I am having a CXF webservice impl class. In this I want to start a new thread
in service impl constructor. This is because I need to run a thread will
continuously do some operation in background using database. And I need to
be able to stop it when tomcat is shutdown.
I was searching net. Found