Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Maria Silva   on Oct 17 In Java Category.

  
Question Answered By: Daniel Jones   on Oct 17

I think you missed the servlet-mapping part in your web.xml.

Your web.xml should be something like this:


<web-app>
<servlet>
<servlet-name>name</servlet-name>
<servlet-class>hello</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>name</servlet-name>
<url-pattern>/heloo</url-pattern>
</servlet-mapping>
</web-app>

Share: 

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


Tagged: