RE RE: If you know........................ Thanks !

2002-10-26 Thread Correo
I follow your tutorial bat can't start my servlet !!!
Error 404: ..   !!!%#$!*7^
I change the name directory Servlet1 to  myApp and modifi web.xml
what happen ?



Visit www.bocajuniors.com.ar




--
To unsubscribe, e-mail:   mailto:tomcat-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-dev-help;jakarta.apache.org




RE: If you know........................ Thanks !

2002-10-25 Thread Shapira, Yoav
Hi,

Tomcat 4.1/webapps/servlet1/web-inf/classes/st/Servlet1.class

How call in a brobser my class?

http://yourhost:yourport/servlet1/servlet/st/Servlet1

I suggest you give your web application a name other than servlet1
because that name might confuse you.  A name like myApp is better.

The web.xml file goes in the
tomcat/webapps/myApp/WEB-INF directory.

You can add the following to your web.xml:

servlet
  servlet-nameMyServletName/servlet-name
  servlet-classst.Servlet1/servlet-class
/servlet

servlet-mapping
  servlet-nameMyServletName/servlet-name
  url-pattern/MyServlet/url-pattern
/servlet-mapping

Then your servlet will be accessible from
http://yourhost:yourport/MyApp/MyServlet

Where put Servlet1.shtml?

in tomcat/webapps/MyApp. (or subdirectories of it, but not under
WEB-INF).

I send Servlet1.java  and web.xml to you see.

I didn't see any attachments.

I'm new in Tomcat !!

Welcome ;)

Thank for all and excuse my English...I from Argentina.

I'm a Boca Juniors fan ;) 

Yoav Shapira
Millennium ChemInformatics

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:   mailto:tomcat-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-dev-help;jakarta.apache.org


RE: If you know........................ Thanks !

2002-10-25 Thread Shapira, Yoav
Hi,
By the way: this belongs in tomcat-user, not tomcat-dev.  I replied to
tomcat-dev by accident.  Sorry about that, and please post only dev
questions to this list.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Correo [mailto:hefperez;ar.inter.net]
Sent: Friday, October 25, 2002 3:57 PM
To: Tomcat Developers List
Subject: If you know Thanks !

I all.
I'm using Tomcat on win98
Have a problem when call my class error:404 
My class are in :

Tomcat 4.1/webapps/servlet1/web-inf/classes/st/Servlet1.class

How call in a brobser my class?
Where put Servlet1.shtml?

I send Servlet1.java  and web.xml to you see.

I'm new in Tomcat !!

Thank for all and excuse my English...I from Argentina.






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


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:   mailto:tomcat-dev-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-dev-help;jakarta.apache.org