There seems to be typo errors in your question. So have made some assumptions with my reply.
You mentioned that you type in the URL
http://localhost:8080/hi/tryout.jsp to get it working.
I assume that "hi" is your context root.
If you want to type only
http://localhost:8080/tryout and get the page tryout.jsp present in the root folder named "hi", then you need to do the following:
1. Make "hi" you default web app in Tomcat. Refer to tomcat docs for the same.
AND
2. Have the following lines in your web.xml file:
[ March 11, 2007: Message edited by: Sunil Vasudevan ]