Adam Carter

Greenhorn
+ Follow
since Jul 23, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Adam Carter

I suspect that you havn't included your new servelts details in the web.xml document which I belive is in your web-inf directory.
The way tomcat works in regards to servlets is that you have to place the servlet information in the web.xml document so it knows when to load that information.
<servlet>
<servlet-name>org.apache.jsp.index_jsp</servlet-name>
<servlet-class>org.apache.jsp.index_jsp</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>org.apache.jsp.index_jsp</servlet-name>
<url-pattern>/index.jsp</url-pattern>
</servlet-mapping>
The url-pattern tells tomcat that if someone goes to www.yourdomain.com/index.jsp to load this serverlet.
20 years ago