Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Virtual host, Alias and ROOT dir

Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I spend a long time to set Virtual host in WSAD 4.0 in order to have 2 applications on the same server like:
in vain
for the moment I have 1 application working with an url like:
<a href="http://server/<b rel="nofollow">myApp1</b>/index.jsp" target="_blank">http://server/myApp1/index.jsp
Ok but if in this index.jsp I make a redirection using uri like /servlet/myServlet witch correctly declared and functionnal I lost auomaticaly the application name (myApp1) and be redirected to server root!
instead of
It is the samre for images uri \image\foo.gif send me to server root...
Where am I suppose to settle this application root/context root? am I wrong??
Ranch Hand
Posts: 374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The key is to add a SimpleFileServlet to each of your apps. Search this forum for my comments on this subject--this is a pet peeve of mine with WebSphere as it caused several hours of frustration, like it's doing to you...
That is a really big piece of pie for such a tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic