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-name>MyServletName</servlet-name> <servlet-class>st.Servlet1</servlet-class> </servlet> <servlet-mapping> <servlet-name>MyServletName</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>