Anyone solve the cache problem in Tomcat already ?

2001-09-20 Thread Kenny Ma

I need to restart tomcat everytime after i change my servlet program
even I added reloadable=true in serevr.xml

Anyone solve this problem ? please tell me

thanks


/* Kenny Ma
   [EMAIL PROTECTED] */




Re: Anyone solve the cache problem in Tomcat already ?

2001-09-20 Thread Kenny Ma

oh..that's is a bad news for me..
If tomcat cant reload servlet..
It is very troblemsome when I develop servlet application


 At 15:49 20/09/2001 +0800, you wrote:
 I need to restart tomcat everytime after i change my servlet program
 even I added reloadable=true in serevr.xml
 
 reloadable=true if for jsp, unfortunately, you can not reload servelt or 
 webapp
 that should be a great features to add, meanwhile I personally was maze
   into the 3.3 code when I look into it, so...
 
 Anyone solve this problem ? please tell me
 
 thanks
 
 
 /* Kenny Ma
 [EMAIL PROTECTED] */





/* Kenny Ma
   [EMAIL PROTECTED] */




Log4J ?

2001-09-13 Thread Kenny Ma

Can anyone tell me how to use Log4J ?

the sample is
cat.debug(Hello world.);
cat.info(What a beatiful day.);

so, what is the different if i use
System.err.println(Hello world.); ???

Both are output to standout...

How to use Log4J more easy ? Thanks


/* Kenny Ma
   [EMAIL PROTECTED] */




Tomcat cache ?

2001-09-12 Thread Kenny Ma

I always need to restart tomcat to see the latest result after I change the 
some servlet program.

Is it tomcat cache the servlet program ?
if so, how can I disabled the cache ?

It never happened when I use Jserv before.

Thanks


/* Kenny Ma
   [EMAIL PROTECTED] */




Tomcat always cache my servlet program...

2001-09-10 Thread Kenny Ma

Tomcat always cache my servlet
everytime I edit my servlet program

i need to restart tomcat to get the latest result..
it never happened when i use JServ

how to solve it ? thanks


/* Kenny Ma
   [EMAIL PROTECTED] */




Where should i put the JSP file ?

2001-09-05 Thread Kenny Ma

Hi
Can you tell me where I put the jsp file
then my web server (apache) can read it ?

I put my servlet file in webapps/xxx/WEB-INF/classes
how about JSP file ?

thanks


/* Kenny Ma
   [EMAIL PROTECTED] */




System.err.println

2001-08-19 Thread Kenny Ma

I am using Tomcat 3.2.3/Redhat 7.1

I have a servlet program, the program line 1 is System.err.println(TEST)

when i run the servlet, the output goes into console

I want the err.println output to a file (/usr/local/apache/logs/error_log), 
what can I do ?
or how to config Tomcat ?


/* Kenny Ma
   [EMAIL PROTECTED] */