Non-working (non-complete) webapp should be made working (completed). It should be made runnable as war-file and it should work fine.