• 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Changed Web Context / Web Group not found

Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I recently decided to change the context root for a web application in WSAD v5. I made the appropriate changes to the web application's .websettings file as well as the enterprise application's application.xml file. However, when I run the application, one of my JSPs is unable to access the master stylesheet file:

The stylesheet links are defined as follows:

If I change the web application context root back to its original value ("/"), it works fine.
My other JSPs, including 2 JSPs in the same folder with the same stylesheet links, have no problem accessing the stylesheet files. I'm sure the problem is with the plugin-cfg.xml file. However, I cannot find this file
in WSAD. Does anyone know where this file or its equivalent is kept in WSAD?
[ February 02, 2004: Message edited by: Jay Damon ]
Jay Damon
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure why but I changed the CSS links to

and that solved the problem.
In WSAD, when the links are specified as they were originally, the CSS styles are displayed properly. However, in WAS, the CSS links must be specified as shown above to display property.
I think the problem is due to the fact that I have the JSP mapped to /registration but the the JSP itself is in a folder named user/registration, i.e. 1 level versus 2. Is this correct behavior?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic