Hi. Did you try opening your servlet with http:\\localhost:8080\Hello
?
And don't forget to set the servlet in RootApp\Web-Inf\web.xml
There should be something like this:
<web-app>
<servlet>
<servlet-name>
Hello
</servlet-name>
<servlet-class>
Hello
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>
Hello
</servlet-name>
<url-pattern>
/Hello
</url-pattern>
</servlet-mapping>
</web-app>
Regards
Michal
----- Original Message -----
From: "Tarik Makota" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 14, 2001 9:29 PM
Subject: [JSP-INTEREST] TomCat & Servlet
I have Tomcat Set up as prescribed.
I used sample directory and then using ANT created deployment.
if i try to call Hello servlet that somes with sample directory i get
404
error.
Where is servlet supouse to be in Tomcat??
%TOMCAT_HOME%\webapps\RootApp\WEB-inf\classes
is where i have it and it is Hello.class
I have defined context for 'RootApp' is server.xml
but if i try http:\\localhost:8080\RootApp\Hello
i get 404 error.
Thanks for any comments
Tarik
----- Original Message -----
From: "João Mota" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 14, 2001 3:07 PM
Subject: Help !! - Forcing an event
> Hi all,
>
> I have a problem in a SELECT tag
>
> I have
> <SELECT NAME= "hi" onChange="changevalue()"> <OPTION> 1
<OPTION>
> 2 <OPTION> 3 </SELECT>
>
> and i want to exchange from from one value to the others, but
when i
> select 3 i want the list box to show 1, but not duplicating the
values in
> the box.
>
> Since when i select 3 the box shows 3, i need to force an event
so
the
> box will show the 1 value.
>
> thx,
>
> J
>
>
======================================================================
=====
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set
JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
======================================================================
=====
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets