Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Adelina Fischer   on Aug 24 In Java Category.

  
Question Answered By: Logan Bouchard   on Aug 24

Your web.xml file  should be like:

<web-app>
<servlet>
<servlet-name>a1</servlet-name>
<servlet-class>a1</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>a1</servlet-name>
<url-pattern>/a1</url-pattern>
</servlet-mapping>

Share: 

 

This Question has 7 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Tomcat and Servlet Or get search suggestion and latest updates.


Tagged: