Jetty seems to not be executing my Zimlet's JSP files

Interested in talking about Mash-up's? This is the place.
Post Reply
pwalker
Posts: 1
Joined: Thu Apr 13, 2017 11:58 pm

Jetty seems to not be executing my Zimlet's JSP files

Post by pwalker »

Our IT team is working on upgrading ZCS by a number of versions, from 8.4 to 8.7. One of the key features we had in 8.4 was a custom Zimlet that was a combination of JavaScript, JSP, and Java code. It was developed referencing the Zimlet Developers Guide, https://wiki.zimbra.com/wiki/Zimlet_Dev ... troduction, and so had many places where the JavaScript would send AJAX requests back to the JSP files on the server.

On 8.4, this worked like a charm. However, in our process of testing the upgrade to 8.7 on a development server, we found that the JSP files no longer work.
Now, any requests sent to the JSP files (using the JavaScript function AjxRpc.invoke) simply return the CONTENT of the JSP files, rather than the results from the code being run by Jetty on the server.

Is there a configuration option that needs to be enabled? Why do the JSP files no longer run?
tkhandelwal
Posts: 5
Joined: Mon May 30, 2016 6:25 am

Re: Jetty seems to not be executing my Zimlet's JSP files

Post by tkhandelwal »

By default it is disabled to compile the zimlet's JSP. You can enable it at server level using the command:

Code: Select all

 zmprov ms hostname zimbraZimletJspEnabled TRUE
Post Reply