wood burning stoves
The moose likes Tomcat and the fly likes Deploying My WebApp in Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Deploying My WebApp in Tomcat" Watch "Deploying My WebApp in Tomcat" New topic

Deploying My WebApp in Tomcat

Gayathri Prasad
Ranch Hand

Joined: Jun 25, 2003
Posts: 116
I am deploying a webapplication of mine and I am unable to do it and the details are as given....
I created a folder in the webapps folder by the name MyServlets and
In my WEB-INF the web.xml descriptor is saved and in the MyServlets folder I stored the login.jsp which would in turn call the login.jsp which is stored in classes folder
From the JSP I am calling the servlet as <form name="loginForm" method="post" action="servlet/login">
I am able to get the Jsp but when I am pressing the Submit button The tomcat results in 404 error
Please help me.

Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

action="servlet/login" = BAD

you are using (or attempted to use) the invoker servlet.

check: http://www.coderanch.com/t/83096/Tomcat/servlet-not-loading
I agree. Here's the link: http://aspose.com/file-tools
subject: Deploying My WebApp in Tomcat
jQuery in Action, 3rd edition