Re: JSP pages are not loaded. Only HTML source code

2011-03-10 Thread André Warnier
Petr Hracek wrote: Thank you for explanation for me. How can be handled ProxyPassReverse for case ProxyPassMatch ^/XYtest/servlet/(.*)$ ajp://localhost:8009/XYtest/$1 Is it enough to have ProxyPassReversy /XYtest/servlet ajp://localhost:8009/XYtest/servlet With the above configuration, use P

Re: JSP pages are not loaded. Only HTML source code

2011-03-10 Thread Petr Hracek
Thank you for explanation for me. How can be handled ProxyPassReverse for case ProxyPassMatch ^/XYtest/servlet/(.*)$ ajp://localhost:8009/XYtest/$1 Is it enough to have ProxyPassReversy /XYtest/servlet ajp://localhost:8009/XYtest/servlet Directory structure in servlet directory is: /opt/test/ser

Re: JSP pages are not loaded. Only HTML source code

2011-03-09 Thread André Warnier
Mark Thomas wrote: On 09/03/2011 16:02, André Warnier wrote: Now from the train.. When you request a URL such as this from Tomcat : (http://hostname)/ABC/DEF/hij.jsp Tomcat uses the first component of the path (/ABC) as mapping for the "web application". It then passes the request to the appl

RE: JSP pages are not loaded. Only HTML source code

2011-03-09 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: JSP pages are not loaded. Only HTML source code > > XYtest.xml is now: > > > > > > > Try removing all the "/servlet" references from your configurations > and URL

Re: JSP pages are not loaded. Only HTML source code

2011-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Petr, On 3/9/2011 9:49 AM, Petr Hracek wrote: > You mean that in HTML file I should remove servlet? I think you have a lot of things confused, here. I'm going to pick and choose from your previous posts and address a few of the things I think are sta

Re: JSP pages are not loaded. Only HTML source code

2011-03-09 Thread Mark Thomas
On 09/03/2011 16:02, André Warnier wrote: > Now from the train.. > > When you request a URL such as this from Tomcat : > > (http://hostname)/ABC/DEF/hij.jsp > > Tomcat uses the first component of the path (/ABC) as mapping for the > "web application". > It then passes the request to the applicat

Re: JSP pages are not loaded. Only HTML source code

2011-03-09 Thread André Warnier
Now from the train.. When you request a URL such as this from Tomcat : (http://hostname)/ABC/DEF/hij.jsp Tomcat uses the first component of the path (/ABC) as mapping for the "web application". It then passes the request to the application "ABC". *Within* that application, there are servlets

Re: JSP pages are not loaded. Only HTML source code

2011-03-09 Thread Petr Hracek
You mean that in HTML file I should remove servlet? Is this web.xml file correct? http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";> Viewer /jsp/Viewer/*.jsp http://java.sun.com/jstl/core-rt /WEB-INF/c-rt.tld http://

Re: JSP pages are not loaded. Only HTML source code

2011-03-09 Thread André Warnier
Quickly, because I have to get a train.. I think that this : togethet with this : I have changed sources so that the actuall state is following: Apache things are in directory /opt/test/htdocs tomcat things are in directory /opt/test/servlet XYtest.xml is now: And jsp are stored in /op

Re: JSP pages are not loaded. Only HTML source code

2011-03-09 Thread Petr Hracek
I have changed sources so that the actuall state is following: Apache things are in directory /opt/test/htdocs tomcat things are in directory /opt/test/servlet XYtest.xml is now: And jsp are stored in /opt/test/servlet/jsp/Viewer/View.jsp Updated HTML file stored in /opt/test/htdocs is:

Re: JSP pages are not loaded. Only HTML source code

2011-03-08 Thread André Warnier
Petr Hracek wrote: Dear users, I would like to asked you on the some thing regarding JSP pages. On the Linux whereis installed apache 2.2.14 and tomcat 5.5.28 that's an old version of Tomcat. You should be using at least a 6.0.x version by now. I would like to run JSP pages. JSP pages shou

Re: JSP pages are not loaded. Only HTML source code

2011-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patr, On 3/8/2011 5:37 AM, Petr Hracek wrote: > Structure of the document is following: > index.html > >marginwidth="0" marginheight=" > 0"> >marginwidth="0" marginhei > ght="0"> > > > > Sorry for wrong explanation. > I hope that this is

Re: JSP pages are not loaded. Only HTML source code

2011-03-08 Thread Petr Hracek
-| > |> > | Date:      | > |> >  >--| >  |03/08/2011 10:50 AM                                                         >                                                                       | >  >-------------------

Re: JSP pages are not loaded. Only HTML source code

2011-03-08 Thread Zbynek Vavros
--| |> | Subject: | |> >----------------------| |JS

JSP pages are not loaded. Only HTML source code

2011-03-08 Thread Petr Hracek
Dear users, I would like to asked you on the some thing regarding JSP pages. On the Linux whereis installed apache 2.2.14 and tomcat 5.5.28 I would like to run JSP pages. JSP pages should be run over mod_proxy_ajp. URL is: http:///XYtest/jsp/Viewer/index.html ProxyPass /XYtest/*.jsp ajp://localhos