A simple servlet with a form post <form method="POST" action="http://localhost:8080/ServletDemos/LoginServlet"> with
servlet mapping in web.xml as follows.
It is handled using doPost()
I am trying to work in eclipse europa+tomcat6.0
I tried enabling the invoker but still unable to execute one.
shows 404 The requested resource (/LoginServlet) is not available.
Check if your application server is working fine by providing the localhost:portnumber in the browser.
If it works fine then I guess there is some problem in your application.
If it doesnt then right click on your server and go to open-- check for the server location in the overview and see if "Use Tomcat installion...." is checked, if it is not checked , check it and deploy your application again, should work.
If that check box is not enabled, then stop your server, remove all the projects on the server, rt click and publish. Once you publish, it will automatically enable and you can check it.