Embedded Jetty needs addon to support JSP for SECORE
|Reported by:||bphamhuu||Owned by:||bphamhuu|
problem is localhost:8080/def/browse.jsp or even index.jsp could not display (reason embedded Jetty 7 do not support JSP by default, return error 500 - JSP do not support). I've known this for time but could not found out solution for embedded Jetty 7 which use Java JDK 1.6 (even standard Jetty 7 needs to download JSP support libraries and run as argument but cannot do the same way with embedded Jetty).
After lot of time to find a way (as it is out-date version but supported from Java 1.6 instead of Java 1.8 like Jetty 9.3) , I try with my solution:
+ Download org.apache.jasper.jar and extract org.apache directory.
+ Download org-apache-commons-logging.jar and extract org directory. (Logging Factory)
+ Download com.spingsource.org.apache.coomons.el-1.0.0.jar and extract org directory (ExpressionEvaluatorImpl?).
Put all of these files into jetty/org/apache and jar -cvf jetty.jar . to create jetty supported JSP.
And now user can update SECORE database with def/browse.jsp or view some links in def/index.jsp.
I will not open a thread with code review, if you want to test please download in attachment.
Change History (6)
Changed 17 months ago by bphamhuu
comment:2 Changed 17 months ago by bphamhuu
- Owner changed from dmisev to bphamhuu
- Status changed from new to assigned