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
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
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