DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13658>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13658 javax.servlet.request.key_size attribute isn't being set ------- Additional Comments From [EMAIL PROTECTED] 2002-10-18 20:04 ------- Thanks, William, I tried it with the latest tomcat-util.jar that you referenced below and you are correct, the attributes are now being set. However, the attribute names aren't returned HttpRequest.getAttributeNames(). The following is some example code in case you might want to try it. HttpRequest.getAttributeNames() is basically returning nothing on my setup, although it did once return something like catalina.INVOKE or something like that. Maybe it's because I'm not using a full nightly build? import java.io.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; public class AttributesServlet extends HttpServlet { public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException { try { resp.setContentType("text/html"); PrintWriter pw = resp.getWriter(); pw.println ("<html><head><title>AttributesServlet</title></head><body>"); Enumeration e = req.getAttributeNames(); while(e.hasMoreElements()) { String s = (String)e.nextElement(); pw.println("<p>" + s + ": " + req.getAttribute (s) + "</p>"); } pw.println("<p>" + req.getAttribute ("javax.servlet.request.cipher_suite") + "</p>"); pw.println("<p>" + req.getAttribute ("javax.servlet.request.key_size") + "</p>"); pw.println("</body></html>"); pw.close(); } catch(Exception e) { e.printStackTrace(); } } } -- To unsubscribe, e-mail: <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org>