A servlet reading cookie??

Case: write a cookie using for example with javascript. Now normally if you have an array of id’s you would just write them plain and simple in the cookie using an array to string respresentation. This is all good…. but if the array to string method is using a comma to seperate the elements there is a problem if you want to use the getCookies method in de javax.servlet.http.HttpServletRequest class of java. It somehow thinks it needs to read every comma seperated element into a different cookie, so what you get is a boogus result. So instead of using comma seperated elements, try using dots or some other sign ;)..

Struts vs. Spring mvc

Last week i was working on a new project which involved using a java mvc framework. I’ve been working with struts mvc for over 2 year now, so i pretty know the ins an outs of this framework. Ofcourse you always have to keep an eye open for new things to arrive and since it is pretty much clear that we were going to use some other features of the spring birds nest , i thought lets use it’s mvc as well. Now this turned out to be a bit of a disappointment. It seems that the things you might hate about struts are actually very easy for use. For example the way struts uses tiles is somewhat verbose but it works. With the spring mvc there is a option to use tiles but the description is about 10 lines of text so a bit fragile to use in a commercial environment. Also the way they created controllers is a bit freaky. In struts you get the whole package, a form, a view, a method(action) based controller. Now with Spring they use a different approach, they have a form, a action, a command and many other controllers. But all you want is to do it all in once. I have to say that i might change my mind, because i’ve only been testing the spring mvc for a small week now……

Rootkitzzz

Hmm i was looking for the description of what a rootkit really is and on my search i stumbled upon the discovery of the famous Sony rootkit incident. Sony had put a rootkit into the player they included in their audio CD’s as a part of DRM. The man who discovered this nasty piece of malware was Mark Russinovich who worked at sysinternals, and on his blog you can read the whole story.

Free network

“I worry about my child and the Internet all the time, even though she’s too young to have logged on yet. Here’s what I worry about. I worry that 10 or 15 years from now, she will come to me and say ‘Daddy, where were you when they took freedom of the press away from the Internet?'”
–Mike Godwin, Electronic Frontier Foundation

Wierd

Soms heb je een droom die zo ongelovelijk leuk was dat je s’ochtend niet wakker wilt worden om zo door de kunnen gaan met het verhaal. Zo’n droom had ik vannacht ook. Ik had het gevoel dat ik een meisje tegen was gekomen die perfect was. Ik had het overwelmende gevoel van verliefdheid..Is dat mogelijk? Verliefd worden op personen uit de dromen. Personen die dus niet echt bestaan, waarbij geur, aanraking geen enkele rol speelt. Waardoor wordt dit gevoed? Het kan toch niet zo zijn dat je een complete personlijkheid kunt creeren in je hoofd en daar ook nog verliefd op worden. Het zou dan toch aannemelijker zijn als er iemand is die aan dat beeld voldoet. Kan het dan ook zo zijn dat er ergens op het zelfde moment iemand een soorgelijke droom heeft het zelfde voelt maar dat vanuit het oogpunt van de ander?..2 mensen worden verliefd in hun dromen, maar geen van 2 weet van het bestaan van de ander af.

Digitech RP-200

Having troubles with your Digitech RP-200 tabbing up and/or down?

The solution is simple..open the back side (don’t worry there ain’t much in there). On the
Printed Circuit Board you’ll find two rubber knobs. The most likely cause of your
problem is the fact that these knobs don’t provide enough support to force back the
PCB. I think this is a construction defect, but nevertheless by adding two small pieces
of rubber to the already excisting pressure points the problem should be
solved. I use Nike anatomical Arch support so anything goes basically….
good luck

Pc-privéregeling per direct geschrapt

Hmmm goed zo…. even alles op een rij…
Een werknemer krijgt de kans om een nieuwe pc te kopen om er vervolgens wat mee te doen???… e-mail, surfen… en o ja gamen.. en daar moet ie natuurlijk de meest grote en uitgebreide pc hebben.. want tja over een paar jaar wil hij natuurlijk nog steeds de meest vette games erop kunnen spelen…Nou zijn er natuurlijk uitzonderingen waarbij de computer wel op een nuttige manier gebruikt wordt.. maar voor een toch niet al te groot bedrag koop je een pc waarop je ook die nutte zaken kunt doen.. dus een plusje voor Zalm en JP 😉

Finally

Well everything went fine with my finals… so finally I can say..
I’m a engineer in information technology…
Happy happy.. the result was an 8 on a 1 to 10 based scale…

Ing. G.J.R. Rozeman