• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Re: WSAD Questions

 
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
She's brilliant. She can see what can be and is not limited to what is. And she knows this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic