File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Edit Contents with deploytool

 
Drake Almonto
Greenhorn
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Thanks
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic