i have created OnlineExam.xml(app directory) file and put it inside $catlina_home$/conf/engine name/hostname/ directory in this format
and tried to request few web pages stored in app directory, but tomcat giving the error with error code 404 saying can not find the requested resource.
i suspected on setting inside server.xml and found that the appBase attribute of Host element having the value "webapps"(default app directory). so i changed this value to point E:\java\OnlineExam, after this although tomcat didn't show any error but not any response either(a blank web page).
while, i read tutorial and got that when resources are requested then engine goes inside $catlina_home$/conf/engine name/hostname/ directory and searches the .xml file to get the context root. then why it is not supposed to do so in my case?
any other setting i need to do?
tomcat version 5.5.17
regards san [ June 28, 2008: Message edited by: santomh Mclain ]