log file servlet

2006-10-31 Thread Tony Smith
I am thinking about writing a "log file servlet" where I can check the log file of the tomcat session from my web browser. Thus I do not need to use console and vi to check it. Is there already something to do this and I am just reinvent the wheel or this is totally a bad idea? If I do this, how

Re: stop and start an application

2006-05-19 Thread Tony Smith
e the same problem. Eclipse 3.1 WTP install. > I ended up shutting down tomcat and deleting the > .war and the folder, > then saving the new .war file and start the tomcat > up again. > I also publish to another tomcat server and still > have to do the same > thing. On bot

update jar file does not work immediately

2006-05-18 Thread Tony Smith
Hi, I am using Tomcat 5.5.9 on Windows. I use Eclipse to write my server code. Every time I change my code, I export the jar directly to the myapp/WEB-INF/lib directory and restart Tomcat. I found that the new code is not immediately used by Tomcat, I have to re-export, re-start Tomcat a c

display exception in log

2006-05-17 Thread Tony Smith
Hi, I run tomcat 5.5 on my computer. If the server throwed a exception, either because of server side java code error or because of a jsp error, the exception was print out in the tomcat log file. I recently reinstalled tomcat, and found that the exception is nolonger reported in the log. Why? Tha

update jar file does not work immediately

2006-05-09 Thread Tony Smith
Hi, I am using Tomcat 5.5.9 on Windows. I use Eclipse to write my server code. Every time I change my code, I export the jar directly to the myapp/WEB-INF/lib directory and restart Tomcat. I found that the new code is not immediately used by Tomcat, I have to re-export, re-start Tomcat a couple t

get element by long name

2006-02-07 Thread Tony Smith
in my jsp, there is something like: How can I get this element in javascript? the following code does not work: var name = document.getElementByName("plateDetail.name").value; I think it is because there is a '.' in the name. Any idea? Thanks, qq ___

how many nest

2006-01-30 Thread Tony Smith
It seems that if you have more than three nested , the code is not going to work. For example, if you have: ${p2} It is ok. But if you have : ${p3} p3 is not printed out. Am I right? Here is my real code, did I do something worong? The most inside did not print.