• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Does WAR change everything?

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've been going through the Servlet exercises. I installed Orion, created moo.html, and so on up through deploying "bee" and "Reverse2Servlet" as .war files. Well, bee and Reverse2Servlet are working fine. However, all the earlier stuff no longer works. If I try http://localhost/moo.html I get a 404/Not found error, and if I try the most basic http://localhost/ I get a 403/Forbidden error (though the index.html file is in place). So what do I have to do to be able to use my deployed apps but still call up simple html files like moo and index, or for that matter simple JSPs? [Somewhere in the background I hear The Moody Blues singing "You can never go home anymore."]
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ed Connery wrote: So what do I have to do to be able to use my deployed apps but still call up simple html files like moo and index, or for that matter simple JSPs?


You need to undeploy your war ... reverse the steps you used to deploy it (like edit the orion files, reboot the server)
 
Ed Connery
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So to have both I'd have to upgrade the old stuff to WAR deployment? (For Cattle Drive purposes I guess I'll have to undeploy when nitpicking finishes the OOP phase.)
 
reply
    Bookmark Topic Watch Topic
  • New Topic