| Author |
Does WAR change everything?
|
Ed Connery
Ranch Hand
Joined: Mar 11, 2010
Posts: 70
|
|
|
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
Joined: Jul 22, 2000
Posts: 9033
|
|
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)
|
JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
|
 |
Ed Connery
Ranch Hand
Joined: Mar 11, 2010
Posts: 70
|
|
|
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.)
|
 |
 |
|
|
subject: Does WAR change everything?
|
|
|