I believe if you have MS Office installed, and are using then IE, then this is possible. But not using others browsers or operating systems (and Java has in any case nothing to do with it). But Office does such a good job letting you edit Office files, that it begs the question: what is the underlying problem you're trying to solve?