Re: Which class i have missed?

2006-12-22 Thread Wang Penghui
think it should be some permission missing in the catalina.policy. I am trying to find it know, if you know that, please let me know. Thanks Wang. > > Wang Penghui wrote: > >> Hello, Everyone, >> >> After install tomcat 5.5.20 in RHEL4, i have tested the jsp-examples

Re: Which class i have missed?

2006-12-22 Thread Wang Penghui
m the offical website of tomcat - http://tomcat.apache.org And all the permissions are the default permissions. 644 root root I have never changed it. But i enable the security manager during the tomcat server startup. Thanks again. Wang Penghui > Wang Penghui wrote: > >> Hel

Which class i have missed?

2006-12-22 Thread Wang Penghui
tomcat installation. Could someone pick me up? Thanks very much Wang Penghui - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Multiple designing.

2006-12-21 Thread Wang Penghui
Dima Retov 写道: WP> We are starting to design a ISP level JSP virutal hosting system which WP> could serve JSP and Servlets. Would you use have 1 tomcat per server? If yes, Would you protect it from abusing code? e.g. Anyone would be able to upload code with infinite loops to server. Thanks f

Multiple designing.

2006-12-20 Thread Wang Penghui
JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 And here is a example in server.xml I leave appBase blank. And point the docBase to the apache virtual documentroot. If i add a new virtual host, simply add one in httpd.conf and one in server.xml. Is there any problem? Thanks ver

Re: appBase & docBase in element in server.xml

2006-12-13 Thread Wang Penghui
Caldarale, Charles R 写道: From: news [mailto:[EMAIL PROTECTED] On Behalf Of Wang Penghui Subject: appBase & docBase in element in server.xml An empty docBase is never correct - if it "works", it's just dumb luck. 1. appbase = "/home/test/wwwroot" docbase

appBase & docBase in element in server.xml

2006-12-13 Thread Wang Penghui
Hello, list, I am a little mess up with the configuration of tomcat 5.5.20 now. I use the follow configuration to setting up two Virtual Host in server.xml And both of them work correctly. I have digged some articles which related to the virtual host on tomcat and found something unclear

Re: "File not found" with file include in a jsp file.

2006-12-13 Thread Wang Penghui
So i don't want to solve this problem any more. Thanks for you guys' help. Thanks very much. Wang Penghui Xiamen China David Smith ??: >> > > You can't have files in the webapps top level. In this regard things >> > > stop working the way they

Re: "File not found" with file include in a jsp file.

2006-12-12 Thread Wang Penghui
Caldarale, Charles R 写道: From: news [mailto:[EMAIL PROTECTED] On Behalf Of Wang Penghui Subject: Re: "File not found" with file include in a jsp file. Here is my configuraiton about this virtual host: appBase="/home/test/wwwroot" autoDeploy="true" The d

Re: "File not found" with file include in a jsp file.

2006-12-12 Thread Wang Penghui
guration. Is it any differences between the two versions? So it has the different behaviors. If i don't wanna to put it to a subdirectory under the top webapps directory. What should i do make it workable? Thanks very much. Wang Penghui > Wang Penghui wrote: > >> Dick Balask

Re: "File not found" with file include in a jsp file.

2006-12-12 Thread Wang Penghui
t; unpackWARs="true"> > > And the tomcat version is 5.5.20 offical package from the http://tomcat.apache.org. Thanks again. Wang. > > On 12/12/2006 1:22 AM also sprach Wang Penghui : >> Hello, >> >> I am using tomcat 5.5.20, apache 2.0 and mod_jk.so t

"File not found" with file include in a jsp file.

2006-12-11 Thread Wang Penghui
Hello, I am using tomcat 5.5.20, apache 2.0 and mod_jk.so to building a jsp server on a RHEL 4. And there is a very strange problem here: There is a file named "headerCon.jsp" in the document root of a virtual host. And there is a folder named product. There is a file named product_view.jsp in t