This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, I am using the deploytool to verify and deploy my ejb's and jsp pages. As a result of testing, I needed to make changes to a couple of my jsp pages. When I use the "Edit Contents" button within the deploytool to update the war file, it asks me if I want to overwrite the existing jsp page. I am clicking on the "yes" button and the jsp page is apparently overwritten. After saving the updated war file, I am running "verify J2EE compliance" on the war file. I am getting an failure during verify that is referencing a line in the jsp page that is no longer in the jsp page.
I tried removing the jsp page altogether and verifying. The error goes away. When I add the jsp page back, the error comes back and still references the same line of code in the jsp page that is no longer in the page.
I feel like some older version of the jsp page has not been cleared or removed entirely when I do "Edit Contents" with the deploytool, even though the overwrite seems to work successfully.
I am new to J2EE, ejb's and jsp pages. Can anyone tell me what I am doing wrong and why my changed jsp page still gets a verify error for a line of code that has been removed?