You have to create a web.xml file in your Web-inf folder. This file should lokk like 
this:

<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" 
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
<web-app>
        <servlet>
                <servlet-name>HelloWorld</servlet-name>
                <servlet-class>dummy.HelloWorld</servlet-class>
        </servlet>
        <servlet-mapping>
                <servlet-name>HelloWorld</servlet-name>
                <url-pattern>/HelloWorld/*</url-pattern>
        </servlet-mapping>
        <welcome-file-list>
                <welcome-file>
                                    index.html
                </welcome-file>
        </welcome-file-list>
</web-app>

As you can see, this file specifies the servlet name and maps it to an url pattern. In 
your html you just have to write i.e:

<form action="HelloWorld">

This should work.

Manuel Melle Ocáriz
Software AG - E-Business Competence Center
[EMAIL PROTECTED]


Reply via email to