Hi Everyone,
I have followed the Tomcat Documentation and have deployed my web
application exactly creating the required directories and making entries,
but am not able to view my servlets, I get a error saying Page cannot be
displayed.
(url given is http://localhost:8080/health/healthLogin )
1)My directory sturcture is
c:/jakarta-tomcat-3.2.1/webapps/health/web.xml
c:/jakarta-tomcat-3.2.1/webapps/health/index.xml
c:/jakarta-tomcat-3.2.1/webapps/health/WEB-INF/ (dir)
c:/jakarta-tomcat-3.2.1/webapps/health/WEB-INF/classes (dir)
-> this has my servlets and other required dirs(files)
com/health/wls/servlets
c:/jakarta-tomcat-3.2.1/webapps/health/WEB-INF/lib (dir)
2) within c:/jakarta-tomcat-3.2.1/conf/sever.xml
...
<RequestInterceptor
className="org.apache.tomcat.request.InvokerInterceptor" debug="0"
prefix="/servlet/" />
<Context path="/health" docBase="webapps/health" crossContext="true"
debug="0" reloadable="true"></Context>
...
3)within c:/jakarta-tomcat-3.2.1/webapps/health/web.xml
<web-app>
<servlet>
<servlet-name>healthLogin</servlet-name>
<servlet-class>com.health.wls.servlets.HealthLogin</servlet-class>
<init-param>
<param-name>Location</param-name>
<param-value>c:/weblogic/health_resources/text.txt</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>healthLogin</servlet-name>
<url-pattern>/health/healthLogin</url-pattern>
</servlet-mapping>
<mime-mapping> .....
...
Apart from these files I haven't made any change, Is there any other files I
need to make entries in. The documentation doesn't say so.
What about build.xml file???
Please reply back.
Thanx in advance
Jagadish