Hi
i have created a
servlet by name first.java in c:/dhana/first.java.
The code is
package testpack;
public class first extends Httpservlet
{
........
}
Now I donot understand how to procedd further.
I compiled the file and placed the class file
in c:/tomcat/webapps/examples/web-inf/classes/first.class
And now i am invoking the servlet using a html file as follows
<html>
<form action="http://localhost:8080/examples/servlet/testpack.first>
........
</html>
WHat i doubt is
1) how should we place the class file in
tomcat.
2)Should we create a subdirectory with same name as the package name in tomcat/webapps/examples/web-inf/classes.
3)how should we indicate the path of the servlet in html file .Should we invoke with the fully qualified name...
with the above structure i am GEtting HTTP 404 error file not found.....
please help me with this
dhana
[ June 30, 2004: Message edited by: dhana rangu ]