-
Hi dear spammers, I am an announce.
I love you so much I have decided to auto delete spam comments not already published.
Read More -
Francesco Rutelli ha dichiarato che "se fosse stato un semplice deputato, andrebbe al family day". Questa dichiarazione e' a mio avviso penosa e un po' ipocrita.
Premetto che sono a favore dei D.i.c.o., anche nella forma piu' blanda proposta dal governo, e che patti del genere sono gia' presenti nel resto dell'Europa da tempo.
Read More -
Come disse un famoso giudice "Il fatto che non se ne parli, non vuol dire che il pizzo sulle arachidi non esista". Per cui, nel giorno del mio trentatreesimo compleanno ho deciso di impegnarmi a fondo in uno scopo sociale e di denuncia.
Sono perciò lieto di presentare il
Read More -
Hi dear spammers!
I have just finished tuning the latest version of my anti spam-blogging-software, and all the spam have been removed. I am glad to see you loosing your time tring to get some poor bucks from your bogous activity. I hope do you click on my google adverties sometimes, as true friends of mine?
Read More -
聽聽聽 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 = request.getParameterNames();聽聽聽聽聽聽聽聽 聽
聽聽聽聽聽聽聽聽聽聽 聽
聽聽聽聽聽聽聽聽聽聽聽 ArrayList l = new ArrayList();
聽聽聽聽聽聽聽聽聽聽聽 String att;
聽聽聽聽聽聽聽聽聽聽聽 while (attr.hasMoreElements()) {
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 att = (String) attr.nextElement();
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 l.add(att + " -> " + request.getParameter(att));
聽聽聽聽聽聽聽聽聽聽聽 }
聽聽聽聽聽聽聽聽聽聽 聽
聽聽聽聽聽聽聽聽聽聽聽 msg.append("=== Request ( " + l.size() + " ) ===\n");
聽聽聽聽聽聽聽聽聽聽聽 Object a[] = l.toArray();
聽聽聽聽聽聽聽聽聽聽聽 Arrays.sort(a);
聽聽聽聽聽聽聽聽聽聽聽 for (int i = 0; i < a.length; i++) {
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 msg.append((String) a[i]);
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 msg.append("\n");
聽聽聽聽聽聽聽聽聽聽聽 }
聽聽聽聽聽聽聽聽聽聽聽 msg.append("===聽聽 ===聽聽 ===\n");
聽聽聽聽聽聽聽聽聽聽 聽
聽聽聽聽聽聽聽聽聽聽聽 // Process the Session
聽聽聽聽聽聽聽聽聽聽聽 HttpSession session = request.getSession();
聽聽聽聽聽聽聽聽聽聽聽 // msg.append("\n");
聽聽聽聽聽聽聽聽聽聽 聽
聽聽聽聽聽聽聽聽聽聽聽 Enumeration e = session.getAttributeNames();
聽聽聽聽聽聽聽聽聽聽 聽
聽聽聽聽聽聽聽聽聽聽聽 TreeMap t = new TreeMap();
聽聽聽聽聽聽聽聽聽聽聽 String k;
聽聽聽聽聽聽聽聽聽聽聽 while (e.hasMoreElements()) {
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 k = (String) e.nextElement();
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 Object oggetto;
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 try {
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 oggetto = session.getAttribute(k);
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 } catch (Throwable notSerializableException) {
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 oggetto = "NON DESERIALIZZABILE. Chiave:" + k;
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 聽
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 }
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 t.put(k, oggetto);
聽聽聽聽聽聽聽聽聽聽聽 }
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 聽
聽聽聽聽聽聽聽聽聽聽聽 Object orderedKeys[] = t.keySet().toArray();
聽聽聽聽聽聽聽聽聽聽聽 msg.append("=== Session聽 ( " + orderedKeys.length + " " + (usertempz != null ? "+ 1UT" : " NO UT!") + " )===\n");
聽聽聽聽聽聽聽聽聽聽聽 Object elem;
聽聽聽聽聽聽聽聽聽聽聽 for (int i = 0; i < orderedKeys.length; i++) {
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 elem = t.get(orderedKeys[i]);
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 msg.append(orderedKeys[i]);
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 msg.append("\t-> ");
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 if (elem != null) {
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 nicePrintSessionObj(msg, elem);
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 } else {
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 msg.append("null");
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 }
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 msg.append("\n");
聽聽聽聽聽聽聽聽聽聽聽 }
聽聽聽聽聽聽聽聽聽聽聽 return msg.toString();
聽聽聽聽聽聽聽 } catch (RuntimeException e) {
聽聽聽聽聽聽聽聽聽聽聽 return msg + "\nERR: Cannot print session/request!!" + e.getMessage();
聽聽聽聽聽聽聽 }
聽聽聽 }
Read More -
Ma come fare a gestire la biancheria in questi casi? Ebbene il vostro mentore (cioè io...) ha la soluzione. Grazie a Radio Deejay, ho scoperto il seguente fantastico servizio: http://www.stendibiancheria.net/
che vi dice quando vi conviene stendere la biancheria. Questo modesto servizio, migliora le probabilià di essere più puliti del solito, ed evita che i panni bianchi si sporchino senza una valida ragione.
Read More