× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



M,

The short answer is the same as you would for standalone Tomcat. Do
you have the Tomcat test environment installed? That will save you a lot of
time. I downloaded it from www.developer.ibm.com. You have two choices
in defining a servlet. you can put it directly in Tomcats web.xml file, or in a
web.xml in a WEB-INF directory for a context that you define. You define the
context in server.xml (this is how I do it).

In VA/Java you have to bring these files in as resources. If you are using the
test Tomcat application, just add them to the supplied web-xml or server.xml
files. You set logging in Tomcat by specifying debug="1" in your server.xml
context definitions. Something like:

<Context path="/"
  docbase="D:\apps\root"
  crossContext="false"
  debug="1"
  reloadable="true" >

It is still your servlets responsibility to actually log something. In VA/Java, 
you
might try stepping into the class loader for Tomcat and looking at the load
exception.

David Morris

>>> MTanveer@friedmancorp.com 10/29/01 02:42PM >>>
How am I suppose to define my servlets in web.xml which are in VisualAge for
Java Enviornment?
When we run startup is there a log file which can tell me why my servlet is
not loaded?




As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.