File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
ee11/analytics/src/main/java/com/example/appengine/analytics
ee8/analytics/src/main/webapp/WEB-INF Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1717package com .example .appengine .analytics ;
1818
1919// [START gae_java25_analytics_track]
20+
2021import com .google .appengine .api .urlfetch .URLFetchService ;
2122import com .google .appengine .api .urlfetch .URLFetchServiceFactory ;
22- import java .io .IOException ;
23- import java .net .URI ;
24- import java .net .URISyntaxException ;
25- import java .net .URL ;
2623import jakarta .servlet .ServletException ;
2724import jakarta .servlet .annotation .WebServlet ;
2825import jakarta .servlet .http .HttpServlet ;
2926import jakarta .servlet .http .HttpServletRequest ;
3027import jakarta .servlet .http .HttpServletResponse ;
3128import org .apache .http .client .utils .URIBuilder ;
3229
30+ import java .io .IOException ;
31+ import java .net .URI ;
32+ import java .net .URISyntaxException ;
33+ import java .net .URL ;
34+
3335@ SuppressWarnings ("serial" )
3436// With @WebServlet annotation the webapp/WEB-INF/web.xml is no longer required.
3537@ WebServlet (
Original file line number Diff line number Diff line change 1313 limitations under the License.
1414-->
1515<!-- [END_EXCLUDE] -->
16- <web-app xmlns =" http ://xmlns.jcp.org /xml/ns/javaee "
16+ <web-app xmlns =" https ://jakarta.ee /xml/ns/jakartaee "
1717 xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
18- xsi : schemaLocation =" http ://xmlns.jcp.org /xml/ns/javaee
19- http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd " version =" 3.1 " >
18+ xsi : schemaLocation =" https ://jakarta.ee/xml/ns/jakartaee https://jakarta.ee /xml/ns/jakartaee/web-app_6_0.xsd "
19+ version =" 6.0 " >
2020 <welcome-file-list >
2121 <welcome-file >analytics</welcome-file >
2222 </welcome-file-list >
You can’t perform that action at this time.
0 commit comments