---
title: "Enabling JSP support in Jetty 7"
author: "huangxiaobing"
date: "2010-03-06T11:34:33Z"
tags: []
categories: ["Web前端"]
slug: "enabling-jsp-support-in-jetty-7"
draft: false
lastmod: "2010-03-06T11:34:33Z"
id: 609196
url: "https://4ujava.iteye.com/blog/609196"
---

### [Enabling JSP support in Jetty 7](http://blog.max.berger.name/2010/01/enabling-jsp-support-in-jetty-7.html)

As Jetty 6 failed to use the port inherited from xinetd, I have to use Jetty 7. Unfortunately Jetty is missing the JSP support by default. Here is how to enable it:

1. Download the Jetty 6 distribution.
2. Copy the `jsp-2.1` folder to the Jetty 7 `lib/` folder.
3. You can check if it works by running `java -jar start.jar --list-options`
4. Edit `start.ini` to include `jsp-2.1` in the `OPTIONS` line.