Hey, I have tried to create a servlet mapping. You can use it in your program.
Code:
xml version ="1.0" encoding ="UTF-8"?>
<web-app id ="WebApp_ID" version ="2.4" xmlns ="http://java.sun.com/xml/ns/j2ee" xmlns: xsi ="http://www.techarena.in/2010/XMLSchema-instance" xsi: schemaLocation ="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>
asea </ display-name>
<servlet>
<description>
</ description>
<display-name>
administerValidation </ display-name>
<servlet-name> administerValidation </ servlet-name>
<servlet-class>
com.asea.administerValidation</ servlet-class>
</ servlet>
<servlet-mapping>
<servlet-name> administerValidation </ servlet-name>
<url-pattern> / administerValidation </ url-pattern>
</ servlet-mapping>
<welcome-file-list>
<welcome-file> index.html</ welcome-file>
<welcome-file> index.htm</ welcome-file>
<welcome-file> index.jsp</ welcome-file>
<welcome-file> default.html</ welcome-file>
<welcome-file> default.htm</ welcome-file>
<welcome-file> default.jsp</ welcome-file>
</ welcome-file-list>
Bookmarks