Hi, The web application context is set in web.xml file. by using tomcat you can check on the http://localhost:8080/manager Every application you deploy to Tomcat is there. From there you can go to specific web app by click on coresponding links. You need to setup username/pwd for Tomcat in order to use manager, there is a xml file in Tomcat you can configure. Look for it, i dont remember exact name. And if you need to check your tomcat is running on specific port or not from windows cmd command type: netstat -anop tcp; if there is an entry for 8080 then your tomcat is running fine. Usually 404 meanning web server is up and running but you typed the wrong url.
Hope that helped. Regards, Giang On Tue, Apr 3, 2012 at 11:56 AM, Vishal Deore <[email protected]> wrote: > Hi, > > Are you running it on windows. It happens during initial setup of tomcat. > For firewall u need to accept permissions else that port is block. > > Else pls paste logs. > > Thanks > Vishal > > On 29-Mar-2012 2:55 PM, "prav g" <[email protected]> wrote: > > Hi, > > I tried > > http://localhost:8080/hello_initparam_context/GreetingServlet > > That also did not work. There are three servlets in this example > GreetingServlet > GreetingServlet2 > ResponseServlet > > Not sure how to make it work. How to change the context name so that when I > run the application directly following url run > http://localhost:8080/hello_initparam_context/GreetingServlet > > Thanks, > Praveen > > > > On Mon, Mar 26, 2012 at 1:51 PM, Icon Web Solutions <[email protected]> > wrote: >> >> http://localhost... > > Thanks & Regards, > Praveen > > -- > You received this message because you are subscribed to the Google Groups > "JPassion.com: Web Pro... > > -- > You received this message because you are subscribed to the Google Groups > "JPassion.com: Web Programming Basics" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/jpassion_web?hl=en. -- You received this message because you are subscribed to the Google Groups "JPassion.com: Web Programming Basics" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jpassion_web?hl=en.
