Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Does WAR change everything?

 
Ed Connery
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."]
 
Marilyn de Queiroz
Sheriff
Posts: 9066
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.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic