description The requested resource () is not available.
My folder hierachy is like so:
cmt3082 - jsp files
classes - servlets
Olympics - java classes
My web.xml is one i got from uni, quite long. What could i have changed which will stop me from loading up a simple jsp from the cmt3082 folder?
Check the logs. It's likely that the web app is never starting due to some error. If you are using Tomcat, check the Manager application to see if it's running or not.
I am using Tomcat, but i dont know what the username and password is for the manager application.
That´s the web.xml of the application server, not of the web application.
Bear Bibeault wrote:Dang, my average web.xml is under 100 lines. I'd trim out all the useless crap if I were you.
you should never ever need to change the appserver´s configuration files.
Nick Price wrote:Let me ask you a quick question so i understand this better. When you download and install tomcat, you get a web.xml off them. Now say i create my own internet application using jsp, servlets and java, but i am saving this application in my own folder rather than the Tomcat's web apps folder. SHould i be creating a new web.xml and placing it in my new folder, or should i be making changes to the web.xml in the Tomcat folder?
Imagine what would happen when you decide to change/upgrade the appserver, distribute your app and/or wanted to use a public hosting provider.