File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
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.

I agree. Here's the link:
subject: Deploying My WebApp in Tomcat
It's not a secret anymore!