This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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.

It is sorta covered in the JavaRanch Style Guide.
subject: Deploying My WebApp in Tomcat
Similar Threads
Servlet delivery in Tomcat
Basic servlet question
Help Me
help me deploy my webapp