Hi Ajit,
Basically this error was not because of your tomcat, You would have written
code only for doPost method inside your receiver servlet, if you did so,
please make some changes as
public void doGet(httpServletRequest request,HttpServletResponse
Response)throws HttpServletException{
doPost(request,response);
}This will solve your problem. Then your servlet will respond for both get and post methods... Yogaraj -----Original Message----- From: Singh, Ajit [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 10:21 AM To: [EMAIL PROTECTED] Subject: How to be sure HI There; I am using first time war file,with Tomcat 4.0, my confusion is when i say startup.bat on command line, there are catalina console comes up and few messages are there, I want to deploy simple.war given in the "webapp" directory. how can i be sure that it (simple.war has been deployed) as per tomcat documnetation all the .war files in the "webapp" directory will be deployed automatically in the tomcat. Do I need to do some entry in the server.xml in the conf directory. If i try to give URL on the browser,,,,,,,,, : http://localhost:8080/simple/receiver Apache Tomcat/4.0.1 - HTTP Status 405 - HTTP method GET is not supported by this URL type Status report message HTTP method GET is not supported by this URL description The specified HTTP method is not allowed for the requested resource (HTTP method GET is not supported by this URL). PLease do help me if some body has done this. Thanks Ajit Have a nice day > ========================================================================== > = > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com "THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE ADDRESSEE and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are notified that any dissemination, distribution or copy of this communication is strictly Prohibited. If you have received this message by error, please notify us immediately, return the original mail to the sender and delete the message from your system." =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
