Re: Questions about JSP programming

2007-01-15 Thread Xuekun Hu
Thanks Rashmi, Zack, and Pid Sorry it's my fault. <%@ include file="request.getParameter("f") %> should not be compiled successfully. I fisrt tested , it works, TOMCAT translated and generated the .java and .class file, then I just modified the same jsp file with <%@ ... %>, TOMCAT compiled it fai

Re: Questions about JSP programming

2007-01-14 Thread Xuekun Hu
Hi, Rashmi, thanks for replying. On 1/15/07, Rashmi Rubdi <[EMAIL PROTECTED]> wrote: I recommend SDN's JSP forum : http://forum.java.sun.com/forum.jspa?forumID=45 And for JSP Tag Libraries this mailing list : http://jakarta.apache.org/taglibs/#MailingLists Great. Thanks again. :-) 1) I tes

Re: Questions about JSP programming

2007-01-14 Thread Xuekun Hu
Zack, thanks for replying. Xuekun, The reason why you are probably getting a file size thats one byte larger than expected is that the JSP processor doesn't remove any whitespace after it includes the other pages content. For example, <%@ include page="request.getParameter("f") %> is going to

Questions about JSP programming

2007-01-14 Thread Xuekun Hu
Hi, Sorry for the off-topic questions, since I didn't find a good forum to discuss JSP programming. :-). If you have any recommendations, I would be very appreciated. I have two questions. 1. I wrote a test.jsp to test dynamically return a static file from the request parameter. --- test.js

looking for TOMCAT monitor

2006-05-27 Thread Xuekun Hu
Hi, I'm a newbie of TOMCAT. Is there a easy use and easy install TOMCAT monitor tool available? I just want to monitor some basic performance counters, like average reponse time, busy threads ... Thanks in advance. Thx, Xuekun

Re: Can TOMCAT cache the file in element?

2006-03-06 Thread Xuekun Hu
Thanks for replying. I described a little inaccurate. The content is dynamic, there is a parameter in that could include different file. However the number of these files are about 50, I want to know does TOMCAT has the caching mechanism to cache them first. Thx, Xuekun -

Can TOMCAT cache the file in element?

2006-03-05 Thread Xuekun Hu
Hi, I'm a newbie of TOMCAT 5.5. I have some jsp scripts which inlucde some static files by using element. I want to cache them to improve the performance. Can TOMCAT do that? If yes, how? I searched the docs, and found an attribute "cachingAllowed" in context container. Does the attribute work f