mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-22 15:10:43 +08:00
test: use annotation to simplify register servlet
This commit is contained in:
@@ -4,6 +4,7 @@ import org.apache.commons.jexl3.JexlExpression;
|
||||
import org.apache.commons.jexl3.MapContext;
|
||||
|
||||
import javax.servlet.ServletException;
|
||||
import javax.servlet.annotation.WebServlet;
|
||||
import javax.servlet.http.HttpServlet;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
@@ -13,6 +14,7 @@ import java.io.IOException;
|
||||
* @author ReaJason
|
||||
* @since 2024/12/14
|
||||
*/
|
||||
@WebServlet("/jexl3")
|
||||
public class JEXL3Servlet extends HttpServlet {
|
||||
@Override
|
||||
protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
|
||||
|
||||
Reference in New Issue
Block a user