Rubrika: Počítače

  • MVC and Spring surf

    One of things I missed in Spring Surf are Models and Controllers. I tried many ways to get them working, but still no useful solution. So I chose really simple way to do that – to define another dispatcher and to play with urlrewrite. In this post I’ll describe what I did and as a…

  • JSP based components in Spring Surf

    In my last blogpost we got Java backed webscripts working, now let’s try something completely different: defining page snippet as a component in .JSP. Just let’s continue with our last code, which is possible to download, but it’s not necessary, it’s possible to build it all on green meadow (aka after project in roo is…

  • Freemarker templates and java backed webscripts

    Wondering about output to freemarker template from java backed webscript in Spring Surf? You’re on the right place, it’s simple so I’ll try to describe it on a few lines. For first I suppose some prerequisites you have: you have Spring Roo and (or) Springsource Tool Suite (or Eclipse with plugin), you have Spring surf…

  • Jak jsem dělil SSD

    Protože mi vypršela studentská licence na WinXP, royhodl jsem se celý systém přeinstalovat a když už, tak pořídit i nový disk. Nejprve jsem vybíral v terabajtových velikostech, ale pak se mi to rozleželo a říkám si, že je to zbytečné – proč pořizovat velký disk, když na něm stejně nic mít nebudu a tak jako…

  • Spanish inquisition

    I stala se mi taková nemilá věc, jako před dávnými časy. Dostal jsem banán na věhlasném českém serveru novinky.cz. Důvod? Není mi známý, pouze jsem zmínil Španělskou inkvizici. Holt asi měl někdo špatný den, nebo zaměstnávají paní Pohlovou, takže jsem jim pro jistotu napsal zpět. Odpovědi se mi bohužel nedostalo, asi to posílal automat. Škoda,…

  • Dwarf Fortress

    Jako velkého fanouška Dungeon Keepera (druhého dílu, abych byl konkrétní) mě před nějakým časem nemálo navnadila recenze na hru Dwarf Fortress a pořád jsem odkládal prvotní ponoření do hry, protože jednak nebyl čas a druhak (a především) jsem se bál náročnosti jak hry samotné, tak i náročnosti na čas (chytne a nepustí). Pak ale na…

  • Webscripts v Alfrescu a Cache

    Dnes jsem málem zase přišel o rozum při snaze rozchodit v IntranetExploaderu některé flashové součásti aplikace, běžící v Alfrescu, které jsem překlopil na zabezpečený režim přenosu za použití SSL. Šlo o to, že flash odmítl načíst vzdálené XML (aka výstup webscriptu). Po celoodpoledním googlení jsem našel prvotní nakopávku. Takže jsem natáhl plugin pro firefox, který…

  • HOWTO Alfresco PHP Library and xUbuntu

    I tried to install Alfresco PHP Library and install it on my kubuntu developing box and it's really very easy to get it running! Instalation procedure for windows is described in Alfresco wiki, but there are some differencies.

  • Sending content to java webscript via POST method

    Yesterday I stucked on problem of getting data from WebScriptRequest, which were sent by POST method. There is some bug in Apache Tomcat, so there is a simple workaround described for example here. My task was to create webscript, which tries to find a file in repository (or create it, if it doesn't exist) and…

  • Delete dialog workaround

    Write this one, or not to write this blogpost? That is the question :-). But I would like to simply remember for some things i did, so let's do it! In my DMS I have some multimedia content saved and this content has attached description in xml file. Also I have my own space view…