以ä¸ã§ã¯ããããã®ã¡ã½ããã使ã£ã¦ããªã¯ã¨ã¹ããããURLãããã¹æ å ±ãåãåºãä¾ãããã¤ãç´¹ä»ãã¾ãããªã¯ã¨ã¹ããããURLã¯ãä»®ã«ãhttp://localhost:8080/javatips/ServletPath/sample_param/ãã¨ãã¾ãã out.println(request.getContextPath()); // /javatips out.println(request.getServletPath()); // /ServletPath out.println(request.getPathInfo()); // /sample_param/ out.println(request.getPathTranslated()); // C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\
{{#tags}}- {{label}}
{{/tags}}