tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: TOMCAT, run Servlet on UNIX
Date Thu, 30 Sep 2004 18:34:50 GMT

Hi,

>I can run the same JSP files from both TOMCAT and Apache
>with DB connection pool for Oracle.
>But I have difficult in Servlet. I cannot run servlet from Tomcat.

You realize the JSPs are servlets, right? ;)

>In webapps/www/WEB-INF/web.xml, I registered the Servlet:
>  <servlet>
>         <servlet-name>ServletTest</servlet-name>
>        <servlet-class>ServletTest</servlet-class>
>    </servlet>
>    <servlet-mapping>
>        <servlet-name>ServletTest</servlet-name>
>        <url-pattern>/ServletTest</url-pattern>
>    </servlet-mapping>

This is fine.  With a servlet mapping, you don't need the invoker
servlet, so don't touch it or rely on it.  

>with http://myComputer:8080/ServletTest, I get error:
>        The request resource (/ServletTest) is not available.

It's an actual 404 error?

Any other errors during startup?

Yoav



This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message