PURPOSE: This randomized phase III trial is studying docetaxel and leuprolide or goserelin to see how well they work when given before surgery compared with surgery alone in treating patients with high-risk localized prostate cancer.