• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Re: WSAD Questions

 
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Screaming fools! It's nothing more than a tiny ad:
create, convert, edit or print DOC and DOCX in Java
https://products.aspose.com/words/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!