Have you tried restarting the Tomcat Server?

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet API 
Technology. [mailto:[EMAIL PROTECTED]] On Behalf Of Ying Su
Sent: Tuesday, March 12, 2002 11:53 PM
To: [EMAIL PROTECTED]
Subject: Problems in configuring Tomcat


Dear all,
I have set up Tomcat and seen the welcome page successfully. But I can't run servlet. 
For example, I wrote a simple servlet "HelloWorld.java" which prints "hello world" in 
brower, then put the "HelloWorld.class" file in Tomcat's "examples"  directory. But 
when I visit it by http://localhost/examples/HelloWorld,  Tomcat gives me an error 
message "The requested resource (/HelloWorld) is not available." However, jsp files 
could be executed properly.  Does anyone know how to run my servlet?

Thanks a lot!

Sincerely
Ying
N‹§²æìr¸›zǧu隊[h–+-±êڲéÜ¢f§v)Ü–ç^Š{ayºʇí…éž²Æ
 zÈ 
ž‡ßHDU,DÈ51$À­Èb½ë!¶ÚýªÜ†+Þ²6¯j˧r‰¿j·!Š÷¬þÇ«¾W­Š{^­ë-†Ù¥Eë(º·²m§ÿãjö¬ºw(›úk¡Ûœ¶Ïìz»åzßÞÆ×«©kzÊ.­Ç¬†Ù¥,„“HDUéi†Ûiÿü0Â[(~×(›ùšžæ¥³û¬z¿î±êá

�{.n�+���zw^�����b����ڽ�.��&jwb��nu觶��ܨ~�^��,j��       �}�ER�L�SL
܆+޲m��ڭ�b��#j���w(���r�z��z��zا��޲�m�T^���q�!���6�j˧r������l�ǫ�W���mz�ږ�����z�m�R�I4�EQޖ�m����
%���r�����j[?�ǫ���f


Reply via email to