Hi,

Do you really need that resource-ref in the web.xml. Your resource is
defined under Context so you shouldn't need one. Other than that
Your code looks fine and I can't see any problems with it.

Regards.

Hi,

Why have you got servlet-api.jar under your WEB-INF/lib. You should
Be using the servlet implementation that comes with tomcat (under
common/lib).

I don't know enough about tomcat to know what it would mean if you have the
jar under WEB-INF/lib, but I am sure it won't be very happy with it.


Regards.

>OK, I removed the unnecessary Contexts (at least they are unnecessary
>for the time being) and did notice the following messages.
>
>WARNING: A docBase c:\webapps\myapp inside the host appBase has been
>specified, and will be ignored
>Apr 15, 2006 2:09:41 AM org.apache.catalina.loader.WebappClassLoader
>validateJarFile
>INFO:
>validateJarFile(D:\MSD\Prog0\NewsBrowser\webapps\medias\WEB-INF\lib\serv
>let-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2.
>Offending class: javax/servlet/Servlet.class
>Apr 15, 2006 2:09:41 AM org.apache.catalina.loader.WebappClassLoader
>validateJarFile
>INFO:
>validateJarFile(D:\MSD\Prog0\NewsBrowser\webapps\medias\WEB-INF\lib\serv
>let.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2.
>Offending class: javax/servlet/Servlet.class




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to