Hello out there, I working on a new servlet and it is very simple so far. But I cannot start it!?! I get this error dumped on my browser: [quote] 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). Apache Tomcat/5.5.9 [/quote] The sourcecode is very simple so far... [code] import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import com.softwareag.tamino.db.api.accessor.TAccessLocation; public class Dialog extends HttpServlet { public void doGet ( HttpServletRequest req, HttpServletRequest res ) throws ServletException, IOException { res.setContentType ( "text/html" ); PrintWriter out = res.getWriter(); String name = req.getParameter( "name" ); String vorname = req.getParameter( "vorname" ); out.println( "<HTML>"); out.println( "<HEAD><TITLE>Antwort</TITLE></HEAD>" ); out.println( "<BODY>"); out.println( "Name " + vorname + " " + name ); out.println( "</BODY></HTML>"); } } [/code] and the service-descriptor: [code] <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <display-name>Eingabe Ihrer Daten</display-name> <servlet> <servlet-name>hello</servlet-name> <servlet-class>Dialog</servlet-class> </servlet> <servlet-mapping> <servlet-name>hello</servlet-name> <url-pattern>/hello</url-pattern> </servlet-mapping> </web-app> [/code] Its really not complex so far, but I cannot find the problem. Can anybody help me? Gruss Christian -- Christian Stalp Institut für Medizinische Biometrie, Epidemiologie und Informatik Johannes-Gutenberg-Universität Mainz Tel.: 06131 / 17-3107 E-Mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]