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

2006-12-13 Thread Wang Penghui
David Smith 写道: My apologies for reposting this outside the thread, but Thunderbird has a real problem with the encoding of the original thread and has made a mess of the minimal formatting I tried to put in below. --David Try this directory structure, starting with the appbase you declared

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

2006-12-12 Thread Wang Penghui
Dick Balaska 写道: If /product_view.jsp is at the root of your tree (a top level document), surely it can not know how to go up above the root. This is by design. I say it's at the root of the tree of the virtual host based on the parse error /product_view.jsp(2,0) dik Thanks very much

RE: File not found with file include in a jsp file.

2006-12-12 Thread 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: Host className=org.apache.catalina.core.StandardHost appBase=/home/test/wwwroot autoDeploy=true snip Context

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

2006-12-12 Thread David Smith
You can't have files in the webapps top level. In this regard things stop working the way they do in Apache Httpd. Move your headerCon.jsp file down into the product webapp or put the whole works in a ROOT directory inside of your wwwroot. --David Wang Penghui wrote: Dick Balaska 写道: If

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

2006-12-12 Thread Wang Penghui
David Smith 写道: You can't have files in the webapps top level. In this regard things stop working the way they do in Apache Httpd. Move your headerCon.jsp file down into the product webapp or put the whole works in a ROOT directory inside of your wwwroot. --David Hello, David, Follow

RE: File not found with file include in a jsp file.

2006-12-12 Thread 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. I am sorry that, i could not understand what's your mean. Maybe i am not so smart enough, could you mind explain it for me in detail again. First, the deployment

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

2006-12-12 Thread David Smith
No, no, no... Try this directory structure, starting with the appbase you declared in your host definition: wwwroot ROOT headerCon.jsp product product_view.jsp WEB-INF web.xml The web.xml can be very minimal -- just a web-app root element with the appropriate dtd or schema declaration. Then

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

2006-12-12 Thread David Smith
My apologies for reposting this outside the thread, but Thunderbird has a real problem with the encoding of the original thread and has made a mess of the minimal formatting I tried to put in below. --David Try this directory structure, starting with the appbase you declared in your host

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

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

2006-12-11 Thread Dick Balaska
If /product_view.jsp is at the root of your tree (a top level document), surely it can not know how to go up above the root. This is by design. I say it's at the root of the tree of the virtual host based on the parse error /product_view.jsp(2,0) dik On 12/12/2006 1:22 AM also sprach Wang