Changes between Version 14 and Version 15 of waue/2009/0806
- Timestamp:
- Aug 6, 2009, 6:08:24 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
waue/2009/0806
v14 v15 159 159 web.xml的內容為 160 160 {{{ 161 #!xml 161 162 <web-app> 162 163 164 163 <display-name>Hello, World Application</display-name> 165 166 <description> 167 標題 </description> 168 169 164 <description> 標題 </description> 170 165 <servlet> 171 172 166 <servlet-name>HelloServlet</servlet-name> 173 174 167 <servlet-class>mypackage.Hello</servlet-class> 175 176 168 <description> 意指檔案完整路徑為 WEB-INF/classes/mypackage/Hello.class </description> 177 169 </servlet> 178 179 180 170 <servlet-mapping> 181 182 171 <servlet-name>HelloServlet</servlet-name> 183 184 172 <url-pattern>/hello</url-pattern> 185 186 173 <description> 意指瀏覽器所見目錄為http://localhost:8080/sample/hello </description> 187 174 </servlet-mapping> 188 189 190 175 </web-app> 191 192 176 }}} 193 177