• 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Does WAR change everything?

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • 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: 9099
12
  • Mark post as helpful
  • send pies
  • 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
  • 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.)
 
Beauty is in the eye of the tiny ad.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic