Dear Nick, First of all, thank you Nick for sharing your views. Resin is supposed to parse the request whenever the request is for jsp files. If I connect directly to resin server without going tru apache, resin has never show the source code as plain text in the browser before, so I rule the problem on the resin side. What I am suspecting, when there is a request for the filetype jsp, apache is unable to connect to the resin cluster, and therefore treat it as a plain-text document and display it (both the server is running fine at this moment). However, this is merely my speculation. I have no hard evidence to prove this. " It isn't even available to apache, unless resin sends it." Oh ya one more thing, as you know my apache and resin is in different machines. When we deploy, both servers has the same set of source codes and directory structure placed in /www/test. Thank you. Warm Regards, Jacky Wong -----Original Message----- From: Nick Kew [mailto:nick@xxxxxxxxxxxx] Sent: Thursday, September 07, 2006 6:30 PM To: users@xxxxxxxxxxxxxxxx Subject: Re: [users@httpd] RE: [SPAM] Re: [users@httpd] RE: [SPAM] Re: [users@httpd] apache 2 showing jsp source codes On Thursday 07 September 2006 10:56, Jacky wrote: > Dear Greg, > > The reason why I say "we discover that sometimes apache will display" is > bcos the web-app normally will be served by resin. But as you keep on > trying to refresh and refresh for a number of times (usually >=5), the > source code will be printed on the browser as plain text. The *source code* is a backend (resin) thing, not an apache thing. It isn't even available to apache, unless resin sends it. So looking in apache for your problem or solution is about as useful as looking to apache to repair your punctured tyre. -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.prenhallprofessional.com/title/0132409674 --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx