Find% Tomcathome% / conf / server.xml file, add: Context> put your JSP file in" local path ", then enter http://127.0.0.1:8080/ virtual directory name / xxx.jsp in your browser. Note !! Not yet finished !! At this time, your virtual directory has not yet executed the ability of servlet (of course, if you don't have servlet, you will make the matter). Below is an example: context> You have to build a directory named WORK in WebApps / to make this work directory to execute servlet, have a configuration file - Web.xml, content is: XML Version = "1.0" encoding = "ISO-8859-1"> myWeb display-name> Invoker server-name> / servlet / * url-pattern> servlet-maping> web-app> This makes the minimum configuration, just point the location of the servlet. To put this file Go to WebApps / Work / Web-INF / Under your own servlets in WebApps / Work / Web-INF / CLASSES /.