Hi all,

If I put a servlet called Hello.class into a package called com.myco.test and have a 
suitable dir structure under WEB-INF\classes to reflect this, do I still need to give 
the full URL of the class in the web.xml file e.g.,

    <servlet-name>Hello</servlet-name>
    <servlet-class>com.myco.test.Hello</servlet-class>

    <servlet-mapping>
    <servlet-name>Hello</servlet-name>
     <url-pattern>com.myco.test.Hello</url-pattern>
    </servlet-mapping>

Also when referencing this servlet from an html form do I need to give the full URL?

I've tried every combination I can think of.

Regards

Andy Wickson

Reply via email to