Actually, both wars were wanted by Austrians, rather than Germans...
And the German people went right along with them in both cases.