sage

Javascript and Smalltalk

There is a future for SmallTalk? I was a very strong fan of the SmallTalk language, but in the last five years I have seen more and more contraction of its usage in the IT field. The OLPC project, which uses also Squeak Smalltalk and its done by the core team fo Squeak, is not …

Javascript and Smalltalk Read More »

Java Session Fancy Printing

    public static final String convertToString(HttpServletRequest request) {        StringBuffer msg = new StringBuffer();        try {             msg.append("*RequestURI:" + request.getRequestURI() + "\n");            msg.append("*ContentType:" + request.getContentType() + "\n");             msg.append("== Request Header\n");            Enumeration headers = request.getHeaderNames();            while (headers.hasMoreElements()) {                String headerName = "" + headers.nextElement();                msg.append(headerName + ":" + request.getHeader(headerName) + "\n");            }            msg.append("\n");                        Enumeration attr …

Java Session Fancy Printing Read More »