Moved to Jakarta EE. Closes #7
This commit is contained in:
parent
c4edb4fd1f
commit
45af218f39
20 changed files with 224 additions and 139 deletions
|
@ -32,10 +32,10 @@
|
|||
|
||||
package net.thauvin.erik.httpstatus.taglibs;
|
||||
|
||||
import jakarta.servlet.jsp.JspWriter;
|
||||
import jakarta.servlet.jsp.PageContext;
|
||||
import net.thauvin.erik.httpstatus.Utils;
|
||||
|
||||
import javax.servlet.jsp.JspWriter;
|
||||
import javax.servlet.jsp.PageContext;
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
|
|
|
@ -32,9 +32,10 @@
|
|||
|
||||
package net.thauvin.erik.httpstatus.taglibs;
|
||||
|
||||
import javax.servlet.jsp.JspWriter;
|
||||
import javax.servlet.jsp.PageContext;
|
||||
import javax.servlet.jsp.tagext.SimpleTagSupport;
|
||||
import jakarta.servlet.jsp.JspWriter;
|
||||
import jakarta.servlet.jsp.PageContext;
|
||||
import jakarta.servlet.jsp.tagext.SimpleTagSupport;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
|
||||
package net.thauvin.erik.httpstatus.taglibs;
|
||||
|
||||
import jakarta.servlet.jsp.JspWriter;
|
||||
import jakarta.servlet.jsp.PageContext;
|
||||
import net.thauvin.erik.httpstatus.Utils;
|
||||
|
||||
import javax.servlet.jsp.JspWriter;
|
||||
import javax.servlet.jsp.PageContext;
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
|
@ -55,7 +55,7 @@ public class MessageTag extends XmlSupport {
|
|||
@SuppressWarnings("PMD.CloseResource") final JspWriter out = pageContext.getOut();
|
||||
|
||||
final String message = (String) pageContext.getRequest().getAttribute(
|
||||
javax.servlet.RequestDispatcher.ERROR_MESSAGE);
|
||||
jakarta.servlet.RequestDispatcher.ERROR_MESSAGE);
|
||||
|
||||
Utils.outWrite(out, message, defaultValue, escapeXml);
|
||||
}
|
||||
|
|
|
@ -32,11 +32,11 @@
|
|||
|
||||
package net.thauvin.erik.httpstatus.taglibs;
|
||||
|
||||
import jakarta.servlet.jsp.JspWriter;
|
||||
import jakarta.servlet.jsp.PageContext;
|
||||
import net.thauvin.erik.httpstatus.Reasons;
|
||||
import net.thauvin.erik.httpstatus.Utils;
|
||||
|
||||
import javax.servlet.jsp.JspWriter;
|
||||
import javax.servlet.jsp.PageContext;
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
package net.thauvin.erik.httpstatus.taglibs;
|
||||
|
||||
import javax.servlet.jsp.tagext.SimpleTagSupport;
|
||||
import jakarta.servlet.jsp.tagext.SimpleTagSupport;
|
||||
|
||||
/**
|
||||
* Adds support for the <code>default</code> and <code>escapeXml</code> tag attributes.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue