Hi..i have some servlets that i want to test using tomcat 4.0.3...
i have my servlets under E:\java\portfolio\WEB-INF\classes and my web.xml is in E:\java\portfolio\WEB-INF..
my resource files are in E:\java\portfolio
my tomcat server config file is in D:\tomcat\conf
i want to call my servlet with the url - http://localhost:8080/portfolio/home
what should i put in the server config file (context,docbase)...
also what should i put in my web.xml...currently this is what i have..
<web-app>
 <servlet>
  <servlet-name>home</servlet-name>
  <servlet-class>Home</servlet-class>
 </servlet>
 <servlet-mapping>
  <servlet-name>home</servlet-name>
  <url-pattern>/home</url-pattern>
 </servlet-mapping>
 
thanks a lot..
 

Reply via email to