web.xml for DemoServlet file

 avatar
Rohit143
xml
2 years ago
268 B
2
Indexable
Never
<web-app>  
  
<servlet>  
<servlet-name>rohit</servlet-name>  
<servlet-class>DemoServlet</servlet-class>  
</servlet>  
  
<servlet-mapping>  
<servlet-name>rohit</servlet-name>  
<url-pattern>/welcome</url-pattern>  
</servlet-mapping>  
  
</web-app>