Skip to main content

Posts

Swiping Slides On Mobile

These days working on our current project was very interesting. Creating a web page for mobile devices is not so easy task. Getting page to work on all platforms can be fun, interesting and in some moments a hard task.  It is like making page to works with IE 6 :). We already have templates which works in mobile, and support both (landscape and portrait) page orientation. But for the first time we were supposed to implement more complicated logic in our mobile sites. We got a task to create "coverflow". We were supposed to create slides and allow user to swipes them.

How to scroll on top of iframe on mobile

On my current project we had requirement to provide mechanism for include foreign content in web page (it can be page from same domain or page from foreign domain) for mobile devices. We already had solution for desktop browser and only we should to port it for mobile. For this purpose for the desktop browser we used iframes and we wanted to do same for mobile. Here stuff have become a little bit tricky.

Basics about Servlets

Through this tutorial i will try to get you closer to the Java Servlet Model. Before we start with examination of classes defined within the servlet specification, i will explain basic stuff needed to know before you start with developing web application.

Ubuntu problem with accessing to .local domain

At work we have configured network with .local domain. But default setting on my Ubuntu 10.04 prevent me to access any resource which is configured in our network eg: "something.company.local". On Ubunt wiki i found solution for my problem:   sudo stop avahi-daemon This will stop avahi deamon. More info about this problem you can find on: Ubuntu Wiki

Servlet API Listeners

Generally speaking Listener are objects which are used for performing some action when somethings is happened. They receive notification about some change and perform action registered for that event. Also in the web application from time to time some "interesting" changes happens, and it would be nice that we can be notified about them.  Because of that in the servlet api are defined some Listener interfaces which allow us to handle events which are interesting for us.