Websocket client with SSL and authentication
Tomcat team, I have few questions on websocket: 1. I am looking for Java websocket client sample code that uses basic (user) auth. 2. Is there any sample code for how to put in SSL (keystore and truststore) websocket client ? 3. I want to create a websocket client within the Tomcat jvm. I know there is an example TestWebSocketFrameClientSSL.java as part of Tomcat project but wanted to know if that is the only way to create a websocket. For example, if I have other websocket implementation libraries in my tomcat server lib folder, how do I ensure I get the implementation I want ? Which websocket implementation will I get when I do : ContainerProvider.getWebSocketContainer(); Thanks. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
French chars not displayed correctly - Tomcat 7
Hello Tomcat users, have code like this in my jsp: td${pageKeys.ui_user_name_label};/td Where td represents a cell of an html table. Value of the variable pageKeys.ui_user_name_label populated in server side is in french and it is exactly as shown below: Nom d'utilisateur However, while displaying this in the browser, this is getting displayed as: Nom drsquo;utilisateur How can I get this corrected ? When I try to see the source code, I see something like this: out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(${pageKeys.ui_user_name_label}, java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)); What I want to know from developers here is whether the above code really does some escaping/encoding of the content ? Is a there a way to avoid this encoding ? Appreciate your reply. Thanks. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: French chars not displayed correctly - Tomcat 7
Of course I have that in my html page. My aim was to ask whether tomcat (its libraries) itself is doing encoding of special chars. Thanks. On Mon, Apr 20, 2015 at 8:19 PM, Neill Lima neill.l...@visual-meta.com wrote: Try adding this to your html: head *meta charset=UTF-8* /head - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org