Re: My patches for Tomcat 3.2 wrt mutlibyte characters

2000-12-07 Thread Danno Ferrin
No, that returns the numer of characters that are in the string. The length of the byte array returned by the various String.getBytes() methods is the content length. (If the encoding is an 8-bit encoding or UTF-8 then the length is the content length, but for multi-byte characters such as

Re: WML Generation from JSP broken!!!!

2000-11-30 Thread Danno Ferrin
I am sorry to start this thread here, but I believe that jasper-4.0's behavior is in error. The behavior I think the spec calls for in determining if a page is a JSP Document (xml jsp) or an XMl document with JSP markup is the presence or absence of a jsp:root element. This is further

Re: WWW-Authentication with Tomcat

2000-11-15 Thread Danno Ferrin
You need to set up the web-app to require authentication. In the web.xml in the WEB-APP directory you need to add a security-constraint element and a login-config element. There are examples in the examples web-app. --Danno shahed wrote: How can I do a www-authentication with a jsp