At the beach in Scheveningen.
sunnuntai 9. elokuuta 2009
maanantai 6. heinäkuuta 2009
Spring controller and redirecting
Two ways to use redirecting. First one uses the url mapping configured in an xml file. The url seems to be the same for the client (or actually is, depends on the situation). The second one tells the client to redirect to a certain page, so the url in the client changes accordingly.
1. Use the Spring url mapping
2. Tell the client to go to a certain page
1. Use the Spring url mapping
Map model = new HashMap();
model.put("article_id", "get it from db?");
return new ModelAndView("article", model);
2. Tell the client to go to a certain page
return new ModelAndView(new RedirectView("index.jsp"));
sunnuntai 5. heinäkuuta 2009
Dom tower of Utrecht and Amsterdam train station
Dom tower of Utrecht 4.7.2009 and Amsterdam train station 5.7.2009.
lauantai 4. heinäkuuta 2009
Utrecht football stadium
Taken from the front of the stadium while running. Actually looks much nicer from the other side, because of the water (which you can't see in these pictures).
sunnuntai 3. toukokuuta 2009
Karaoke Utrecht style
A boat karaoke in a canal of Utrecht :)
[caption id="attachment_22" align="alignleft" width="510" caption="Karaoke Utrecht style"][/caption]
[caption id="attachment_22" align="alignleft" width="510" caption="Karaoke Utrecht style"][/caption]
torstai 16. huhtikuuta 2009
First visit in Utrecht, the Netherlands
A picture from the center of Utrecht on an April Sunday afternoon while eating tapas.
keskiviikko 18. maaliskuuta 2009
My new notebook
I bought a new HP 2230s 12" notebook today. Vista pre installed (going to change to kubuntu as soon as possible), but still a very nice package.