在下面的例子中,我们将创建一个简单的JSP页面,它使用一个Action Servlet来处理请求并返回JSON格式的数据。

1. JSP页面(index.jsp)

```jsp

<%@ page contentType="