> how i can run a servlet in tomcat?
Don't try to do that yet; in your other thread you have shown that your are
not capable yet of setting up a proper development environment.
Take my advice, you can't walk or run yet so start with the basics.
kind regards,
Jos