The biggest advantage is cross compatibility. Setting up a http server in any mainstream language is very easy, when compared to the task of creating native UIs for each OS. Look at how much hate Swing, GTK and even Mozilla's XUL got before they went to great efforts to use the native UIs.