aspose file tools*
The moose likes Websphere and the fly likes Re: WSAD Questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Re: WSAD Questions" Watch "Re: WSAD Questions" New topic
Author

Re: WSAD Questions

Joe Cheung
Ranch Hand

Joined: Oct 18, 2002
Posts: 104
Dear all,

I am developing an J2EE application in WSAD 5.0.0 in which there are a few problems facing me that I want to raise for your comment:

1. All jsp are stored under "WebContent" in the file hierarchy. Under the "WebContent", I created a folder called "img" in which all images used in the jsp pages are stored. When I write the link to refer to the images in the jsp pages, WSAD recognized /img/pic.jpg as broken link. Instead, it should /WebContent/img/pib.jpg. How should I configure the project so that the /img/pic.jpg is recognized as correct link?

2. There is an option to export the whole project as a EAR file. Suppose I am going to preserve the file hierarchy in other machine, says SUN Solaris, for some reasons and export the hierarchy as a EAR file using Ant build tool from Apache which requires a XML as the instruction to build the EAR file. Can I obtain the xml file from the WSAD that I will use in executing Ant building tool to create the EAR file?

3. Can WSAD integrate will ClearCase, a version controlling system similar to CVS?

Thank you very much

Regards,
Joe


Joe
Vojtech Patrny
Greenhorn

Joined: Jun 27, 2004
Posts: 4
1. All jsp are stored under "WebContent" in the file hierarchy. Under the "WebContent", I created a folder called "img" in which all images used in the jsp pages are stored. When I write the link to refer to the images in the jsp pages, WSAD recognized /img/pic.jpg as broken link. Instead, it should /WebContent/img/pib.jpg. How should I configure the project so that the /img/pic.jpg is recognized as correct link?


Try to link the image as img/pic.jpg instead of /img/pic.jpg


2. There is an option to export the whole project as a EAR file. Suppose I am going to preserve the file hierarchy in other machine, says SUN Solaris, for some reasons and export the hierarchy as a EAR file using Ant build tool from Apache which requires a XML as the instruction to build the EAR file. Can I obtain the xml file from the WSAD that I will use in executing Ant building tool to create the EAR file?


Build system in WSAD (and eclipse) is proprietary and doesn`t generate ant bild files for you. But you can develop ant files within WSAD (eclipse).


3. Can WSAD integrate will ClearCase, a version controlling system similar to CVS?


Yes clearcase is supported. With WSAD you also get clearcase LT license.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Re: WSAD Questions