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����i


Reply via email to