#1090 closed defect (fixed)

Embedded Jetty needs addon to support JSP for SECORE

Reported by: bphamhuu Owned by: bphamhuu
Priority: major Milestone: 9.2
Component: secore Version: development
Keywords: jetty, embedded, Cc: dmisev
Complexity: Medium


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.

Attachments (1)

jetty.jar (3.5 MB) - added by bphamhuu 21 months ago.
Jetty with addon to support JSP on SECORE

Change History (6)

Changed 21 months ago by bphamhuu

Jetty with addon to support JSP on SECORE

comment:1 Changed 21 months ago by bphamhuu

When you agree, I will submit a patch for this as this, thanks.

comment:2 Changed 21 months ago by bphamhuu

  • Owner changed from dmisev to bphamhuu
  • Status changed from new to assigned

comment:3 Changed 21 months ago by bphamhuu

with this jar I can test the JSP functionalities with ticket http://www.rasdaman.org/ticket/1093 without error so I'd suggest you "OK" :).

comment:4 Changed 21 months ago by dmisev


comment:5 Changed 20 months ago by bphamhuu

  • Resolution set to fixed
  • Status changed from assigned to closed

close as patch has been accepted.

Note: See TracTickets for help on using tickets.