Re: [OT] Tomcat9, JSP, CSS and JS not loading in Firefox

2020-01-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 1/23/20 5:18 AM, André Warnier (tomcat/perl) wrote: > On 22.01.2020 10:26, Lmhelp1 wrote: >> Hello Chris and all, >> >> Sorry for my late answer. Thank you for the link you suggested me >> to read. Adding the element: >> UTF-8 to >> "web

Re: Tomcat9, JSP, CSS and JS not loading in Firefox

2020-01-23 Thread tomcat/perl
On 22.01.2020 10:26, Lmhelp1 wrote: Hello Chris and all, Sorry for my late answer. Thank you for the link you suggested me to read. Adding the element: UTF-8 to "web.xml" solved my problem. Glad to hear that. From an absolute point of view, this is of course again a "patch". But as Chris poin

Re: Tomcat9, JSP, CSS and JS not loading in Firefox

2020-01-22 Thread Lmhelp1
Hello Chris and all, Sorry for my late answer. Thank you for the link you suggested me to read. Adding the element: UTF-8 to "web.xml" solved my problem. Best regards, -- Léa On 17/01/2020 3:17 PM, Christopher Schultz wrote: Your filter changes the encoding of both the request AND the respons

Re: Tomcat9, JSP, CSS and JS not loading in Firefox

2020-01-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Léa, On 1/17/20 8:48 AM, Lmhelp1 wrote: > Hello, > > Thank you for your answer. > > So, I removed the filter from "web.xml". > > Now, some characters with diacritics are rendered properly (for > example constant strings like menu entries: "Présen

Re: Tomcat9, JSP, CSS and JS not loading in Firefox

2020-01-17 Thread Lmhelp1
Hello, Thank you for your answer. So, I removed the filter from "web.xml". Now, some characters with diacritics are rendered properly (for example constant strings like menu entries: "Présentation"). But I created a new user "Léa": I entered "Léa" in a input type text HTML element and submi

Re: Tomcat9, JSP, CSS and JS not loading in Firefox

2020-01-17 Thread tomcat/perl
On 17.01.2020 04:15, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Léa, On 1/16/20 9:33 AM, Lmhelp1 wrote: Hello, Thank you for your answers. I changed /* to *.jsp I also un-commented the line: servletResponse.setContentType("text/html; charset=" + Finals.S_CHARS

Re: Tomcat9, JSP, CSS and JS not loading in Firefox

2020-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Léa, On 1/16/20 9:33 AM, Lmhelp1 wrote: > Hello, > > Thank you for your answers. > > I changed /* to > *.jsp I also un-commented the line: > servletResponse.setContentType("text/html; charset=" + > Finals.S_CHARSET); > > It looks like the proble

Re: Antwort: Tomcat9, JSP, CSS and JS not loading in Firefox

2020-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Léa, On 1/16/20 4:36 AM, Lmhelp1 wrote: > Hello, > > Thank you for your answer. Indeed, I have such a filter: > > In "web.xml": > -- - -- > > EncodingFilter >

Re: Tomcat9, JSP, CSS and JS not loading in Firefox

2020-01-16 Thread Lmhelp1
Hello, Thank you for your answers. I changed /* to *.jsp I also un-commented the line: servletResponse.setContentType("text/html; charset=" + Finals.S_CHARSET); It looks like the problem is solved. > André Warnier wrote: > As another way of avoiding that problem, you may also want to change i

Re: Antwort: Tomcat9, JSP, CSS and JS not loading in Firefox

2020-01-16 Thread tomcat/perl
On 16.01.2020 10:36, Lmhelp1 wrote: Hello, Thank you for your answer. Indeed, I have such a filter: In "web.xml":       EncodingFilter com.[...].EncodingFilter     requestEncoding   UTF-8      

Re: Antwort: Tomcat9, JSP, CSS and JS not loading in Firefox

2020-01-16 Thread tomcat/perl
On 16.01.2020 10:36, Lmhelp1 wrote: Hello, Thank you for your answer. Indeed, I have such a filter: In "web.xml":

Re: Antwort: Tomcat9, JSP, CSS and JS not loading in Firefox

2020-01-16 Thread Lmhelp1
Hello, Thank you for your answer. Indeed, I have such a filter: In "web.xml":       EncodingFilter com.[...].EncodingFilter     requestEncoding   UTF-8             EncodingFilter     /*   --

Re: Antwort: Tomcat9, JSP, CSS and JS not loading in Firefox

2020-01-15 Thread Niall Fitzpatrick
From: Peter Köhler Sent: 15 January 2020 14:49 To: Tomcat Users List Subject: Antwort: Tomcat9, JSP, CSS and JS not loading in Firefox Von:Léa Massiot An: users@tomcat.apache.org Datum: 15.01.2020 15:40 Betreff:Tomcat9, JSP, CSS and JS not

Fw: Antwort: Tomcat9, JSP, CSS and JS not loading in Firefox

2020-01-15 Thread Peter Köhler
- Weitergeleitet von Peter Köhler/BN/DWD am 15.01.2020 15:50 - Von:Peter Köhler An: "Tomcat Users List" Datum: 15.01.2020 15:49 Betreff: Antwort: Tomcat9, JSP, CSS and JS not loading in Firefox Von:Léa Massiot An: users@tomcat.apache.org Datum: 15.

Antwort: Tomcat9, JSP, CSS and JS not loading in Firefox

2020-01-15 Thread Peter Köhler
Von:Léa Massiot An: users@tomcat.apache.org Datum: 15.01.2020 15:40 Betreff:Tomcat9, JSP, CSS and JS not loading in Firefox Hello, My question is about loading a JSP page in Firefox (or Google Chrome) and not having the CSS loaded and the JS operational. I am using Tomcat

Tomcat9, JSP, CSS and JS not loading in Firefox

2020-01-15 Thread Léa Massiot
Hello, My question is about loading a JSP page in Firefox (or Google Chrome) and not having the CSS loaded and the JS operational. I am using Tomcat v9.0 and Eclipse Java EE IDE v.2019-12 (4.14.0). When I'm developing using Eclipse IDE, I usually: - select a JSP in the "WebContent" directory in t