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.
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.
本文解决了一个在Jetty7及Jetty8中遇到的JSP支持未配置的问题。通过在启动命令中添加特定参数,成功启用了JSP支持并解决了‘JSP support not configured’的错误提示。
3897

被折叠的 条评论
为什么被折叠?



