From 2fb1a63378290d6ed13cc12c12c08901f6780c2d Mon Sep 17 00:00:00 2001 From: Benjamin Culkin Date: Tue, 21 May 2024 17:02:19 -0400 Subject: Update to Jakarta EE --- .../net.wotonomy.web/src/main/java/net/wotonomy/web/WOResponse.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOResponse.java') diff --git a/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOResponse.java b/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOResponse.java index 6362a03..6e729cb 100644 --- a/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOResponse.java +++ b/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOResponse.java @@ -22,6 +22,7 @@ import java.text.SimpleDateFormat; import java.util.Date; import java.util.TimeZone; +import jakarta.servlet.http.HttpServletResponse; import net.wotonomy.foundation.NSArray; /** @@ -93,7 +94,7 @@ public class WOResponse extends WOMessage implements WOActionResults { * to "text/html". As far as I can tell, WORequests have no way to set the * content type and therefore must always be of type "text/html". */ - void generateServletResponse(javax.servlet.http.HttpServletResponse response) { + void generateServletResponse(HttpServletResponse response) { if (WOApplication.application().isPageRefreshOnBacktrackEnabled()) { disableClientCaching(); } -- cgit v1.2.3