AW: RE: How to make tomcat parse a *.HTM File ??
Hi, *.htm=ajp12 I have set this and tomcat delivers the html files, but tomcat ignores all the <% %> tags. I use IIS 4.0 ... but as mentioned the tomcat already receives the html files but does not parse the content. any Ideas ??? -Ursprüngliche Nachricht- Von: Christopher Kirk [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 14. März 2001 18:22 An: '[EMAIL PROTECTED]' Betreff: RE: How to make tomcat parse a *.HTM File ?? Have you tried setting *.htm=ajp12, AND in httpd.conf move the mod_jk higher up the list of modules (I believe that they are declared in a 'search' order)? - Chris. > -Original Message----- > From: Matthias Barmeier [mailto:[EMAIL PROTECTED]] > Sent: 14 March 2001 17:01 > To: [EMAIL PROTECTED] > Subject: How to make tomcat parse a *.HTM File ?? > > > Hi, > > > I have a question: > > What do I have to do to make JSP code work in *.htm files. > I would like to automatically add an authorization prefix to > any *.html and *.htm page of my old web. The java program works > fine but the <% authorize this code %> does not work. > > I use IIS and Tomcat 3.1. > > Can anyone help ?? > > Ciao > Matze > > My uriworkermap > > # > # Simple worker configuration file > # > > # Mount the servlet context to the ajp12 worker > /servlet/*=ajp12 > > # Mount the examples context to the ajp12 worker > /examples/*=ajp12 > > # Advanced mount of the examples context > # /examples/*.jsp=ajp12 > # /examples/servlet/*=ajp12 > /*.jsp=ajp12 > /*.htm=ajp12 > > > My web.xml > > I added this to ../conf/web.xml after teh *.jsp entry > > > > htmtojsp > *.htm > > > /* > Dipl.-Inform. Matthias BarmeierTel: +49 (0)30 79 70 72 87 > bit-side GmbH Fax: +49 (0)30 79 70 72 88 > Salzufer 14a Aufgang D Email: > [EMAIL PROTECTED] > 10587 Berlin WWW: <http://www.bit-side.com> */ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
How to make tomcat parse a *.HTM File ??
Hi, I have a question: What do I have to do to make JSP code work in *.htm files. I would like to automatically add an authorization prefix to any *.html and *.htm page of my old web. The java program works fine but the <% authorize this code %> does not work. I use IIS and Tomcat 3.1. Can anyone help ?? Ciao Matze My uriworkermap # # Simple worker configuration file # # Mount the servlet context to the ajp12 worker /servlet/*=ajp12 # Mount the examples context to the ajp12 worker /examples/*=ajp12 # Advanced mount of the examples context # /examples/*.jsp=ajp12 # /examples/servlet/*=ajp12 /*.jsp=ajp12 /*.htm=ajp12 My web.xml I added this to ../conf/web.xml after teh *.jsp entry htmtojsp *.htm /* Dipl.-Inform. Matthias BarmeierTel: +49 (0)30 79 70 72 87 bit-side GmbH Fax: +49 (0)30 79 70 72 88 Salzufer 14a Aufgang D Email: [EMAIL PROTECTED] 10587 Berlin WWW: <http://www.bit-side.com> */ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
AW: JSP, sessions: how to notify bean about the session end?
Hi, if your bean implements HttpSessionBindungListener you can code a ValueUnbound method that can do what you want. -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Sergey V. Udaltsov Gesendet: Mittwoch, 14. Marz 2001 13:08 An: [EMAIL PROTECTED] Betreff: JSP, sessions: how to notify bean about the session end? Hello all My JSPs uses some session-scoped bean. This bean, among other duties, is responsible for logging in and out of some app server. I would like the bean to perform autologout on the session end. Is it possible? How? AFAIK usual finalize can be called ages after the object is really free - so I do not like this way. Any ideas? Regards, Sergey - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Stupid Question
Hi, I have a stupid question: What do I have to do to make JSP code work in *.htm files. I would like to automatically add an authorization prefix to any *.html and *.htm page of my old web. The java program works fine but the <% authorize this code %> does not work. I use IIS and Tomcat 3.1. Can anyone help ?? Ciao Matze My uriworkermap # # Simple worker configuration file # # Mount the servlet context to the ajp12 worker /servlet/*=ajp12 # Mount the examples context to the ajp12 worker /examples/*=ajp12 # Advanced mount of the examples context # /examples/*.jsp=ajp12 # /examples/servlet/*=ajp12 /*.jsp=ajp12 /*.htm=ajp12 My web.xml http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> org.apache.jasper.runtime.JspServlet htmtojsp UploadManager.HttpFileReceiver upload htmtojsp *.htm /* Dipl.-Inform. Matthias BarmeierTel: +49 (0)30 79 70 72 87 bit-side GmbH Fax: +49 (0)30 79 70 72 88 Salzufer 14a Aufgang D Email: [EMAIL PROTECTED] 10587 Berlin WWW: <http://www.bit-side.com> */ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Does session migration work with Tomcat ??
Hi, is it possible to use session migration with tomcat ?? Or does anybody has a snippet or an url where I can get some hints ?? What I want is several tomcat servers behind a load balancing hardware that are session aware. Is this possible ?? Ciao Matze /* Dipl.-Inform. Matthias BarmeierTel: +49 (0)30 79 70 72 87 Büro für Softwareentwicklung Fax +49 (0)30 79 70 72 88 Grunewaldstr. 18 Email: [EMAIL PROTECTED] 12165 Berlin WWW: <http://www.barmeier.com> */