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: deploy question/problem
Date Thu, 30 Oct 2003 15:34:25 GMT

Howdy,
Your web.xml looks fine.  What's in the tomcat error logs?

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Erik Weibust [mailto:eweibust@yahoo.com]
>Sent: Thursday, October 30, 2003 10:13 AM
>To: tomcat-user@jakarta.apache.org
>Subject: deploy question/problem
>
>I am having a problem deploying/installing (I think
>these words can be used interchangeably) my war file.
>I am copying my war to the webapps directory of my
>Tomcat installation (Apache Tomcat/4.1.27).  When I
>try to access my simple servlet I get a "The requested
>resource (/quiz_servlet/quizpage.html) is not
>available." error message.  My war is named
>quiz_servlet.war.  I am also including my web.xml.
>
>Thanks,
>Erik
>
><?xml version="1.0" encoding="ISO-8859-1"?>
>
><!DOCTYPE web-app
>    PUBLIC "-//Sun Microsystems, Inc.//DTD Web
>Application 2.3//EN"
>    "http://java.sun.com/dtd/web-app_2_3.dtd">
>
><web-app>
>  <display-name>Welcome to Tomcat</display-name>
>  <description>Here is my quiz servlet.</description>
>
><servlet>
>   <servlet-name>
>     quiz
>   </servlet-name>
>   <servlet-class>
>     QuizServlet
>   </servlet-class>
>   <init-param>
>     <param-name>question</param-name>
>     <param-value>What is the best
>sport?</param-value>
>   </init-param>
>   <init-param>
>     <param-name>answerA</param-name>
>     <param-value>baseball</param-value>
>   </init-param>
>   <init-param>
>     <param-name>answerB</param-name>
>     <param-value>football</param-value>
>   </init-param>
>   <init-param>
>     <param-name>answerC</param-name>
>     <param-value>basketball</param-value>
>   </init-param>
>   <init-param>
>     <param-name>answerD</param-name>
>	  <param-value>hockey</param-value>
>   </init-param>
>   <init-param>
>     <param-name>correct</param-name>
>     <param-value>A</param-value>
>   </init-param>
> </servlet>
>
><servlet-mapping>
>	<servlet-name>quiz</servlet-name>
>	<url-pattern>/quizpage.html</url-pattern>
></servlet-mapping>
>
></web-app>
>
>__________________________________
>Do you Yahoo!?
>Exclusive Video Premiere - Britney Spears
>http://launch.yahoo.com/promos/britneyspears/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




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