Problem regarding import/exporting .War files in dynamic project application
Priyanka Reddy Chitla
Joined: Nov 03, 2011
I am using Eclipse 3.5 JavaEE for development purpose.Whenever any .war file related to dynamic project development is being imported/exported,it is causing problem with the content java Resources. after importing the .war file, it's package structure is blank, I have to again copy and paste those source codes to deploy dynamic projects. Please give me a solution asap.
Thanks & Regards,
I think you need to be a little more specific as to what is happening. Like what to you mean by import and export (exactly what menu items or dialog buttons are you clicking on), and what are the "content Java Resources"?
When I work with a Dynamic Web Project, it deploys and runs just fine.
I am unable to extract a .War with .java and .classes source files which are under the packages in the Dynamic web project in the eclipse IDE 3.5. After we import the generated .War file , .java and .class files are missing in the file.
exactly what menu items or dialog buttons are you clicking on
So let me give you an example of what I mean. I have a Dynamic Web Project with a servlet. I did the following:
1) Built the project: right-clicked the project, selected Build Project
2) Exported a WAR: File | Export | Web | WAR file
2a) In the WAR Export dialog, I gave a full path Destination (left the rest at the defaults)
The resulting WAR file contained:
* WEB-INF/classes/path /to/my/Servlet.class
So I have the .class files in my WAR.
Now how is what you are doing different from what I did?