|
Jetty Problem on Jetty7 and Jetty8
I met one configuration problem. My JSP page got this kind of message:
JSP support not configured
My Jetty server log is:
NO JSP Support for /easymarket, did not find org.apache.jasper.servlet.JspServlet
My solution is that, I will add some optional parameters on my server start command
start-jetty2.sh
#!/bin/sh
JETTY_HOME="/home/luohua/tools/shellscript/jetty-7.4.1"
JETTY_BASE="/home/luohua/tools/shellscript/jetty2"
export JETTY_HOME JETTY_BASE
cd ${JETTY_HOME}
java -jar start.jar --ini "${JETTY_BASE}/jetty.xml" jetty.port=8084 OPTIONS=Server,jsp
for jetty-8.0.0.M2, just do the same thing as jetty-7 does. |
|
|