Re: Tomcat returns Jsp source code as text/plain to the browser

2014-10-01 Thread Gadi Sastiel
Probably it happens since our JSP's are not under the WEB-INF folder. Should be moved there. Problem solved temporary by adding rewrite rule to the apache httpd-ssl.conf: RewriteRule ^.*\.jsp/*".*$ - [F] Thanks for everyone who tried to help. On Wed, Oct 1, 2014 at 12:10 PM, Ga

Re: Tomcat returns Jsp source code as text/plain to the browser

2014-10-01 Thread Gadi Sastiel
Servlet *.jsf default-local org.apache.catalina.servlets.DefaultServlet debug 0 listings false 1 default-local / Thanks On Wed, Oct 1, 2014 at 11:06 AM, Mark Thomas wrote: > On 01/10/2014 08:14, Gadi Sastiel wrote: > > Hi, the request is seen on the tomcat access l

Re: Tomcat returns Jsp source code as text/plain to the browser

2014-10-01 Thread Gadi Sastiel
Hi, the request is seen on the tomcat access log ( i've changed the path deliberately) [01/Oct/2014:10:01:27 +0300] "GET /x/yy/z/Page.jsp%22 HTTP/1.1" 200 30223 Thanks Gadi On Tue, Sep 30, 2014 at 10:06 PM, André Warnier wrote: > Gadi Sastiel wrote: > &g

Re: Tomcat returns Jsp source code as text/plain to the browser

2014-09-30 Thread Gadi Sastiel
, Daniel Mikusa wrote: > On Tue, Sep 30, 2014 at 9:04 AM, Gadi Sastiel > wrote: > > > Hi , we are behind Apache. , we have HTTP and AJP connectors. > > Java 1.7.17 it was reproduced on Latest chrome and firefox > > > > I've seen similar issues when Apache HTTPD

Re: Tomcat returns Jsp source code as text/plain to the browser

2014-09-30 Thread Gadi Sastiel
Hi , we are behind Apache. , we have HTTP and AJP connectors. Java 1.7.17 it was reproduced on Latest chrome and firefox I can see the request on the tomcat access log. Thanks Gadi On Tue, Sep 30, 2014 at 2:59 PM, Konstantin Kolinko wrote: > 2014-09-30 15:30 GMT+04:00 Gadi Sastiel : >

Tomcat returns Jsp source code as text/plain to the browser

2014-09-30 Thread Gadi Sastiel
Hi all, Tomcat version 7.0.30 Operating System – Windows server 2008 and above. When I concatenate “ ( quotes) to the end of the url when accessing a jsp for example: /pages/somePage.jsp” The browser returns the source code of the JSP. Does anyone see such a behavior before ? How can