<servlet>
<servlet-name>UploadServlet</servlet-name>
<servlet-class>com.UploadServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>UploadServlet</servlet-name>
<url-pattern>/go</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
when I use /go as url-pattern ,it is working . when I alter it to some other name it is not,like/servletgo. HOw can I alter it .xml file?
I got the answer..
whatever the 'action' we wrote in html file is to be write in url-pattern which is under .xml file.
for example:
my html code: