Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling the JspServlet by a background thread #24

Open
ghost opened this issue Nov 23, 2015 · 1 comment
Open

Calling the JspServlet by a background thread #24

ghost opened this issue Nov 23, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 23, 2015

I also posted this on StackOverflow: http://stackoverflow.com/questions/33878758/jastow-jsp-integration

The README, says that the integration requires a "periodic call to the PeriodicEvent interface on the JasperServlet instance". I assume that this is for compiling new JSPs and unloading non-existent JSPs. This would be required only if JSPs are being modified or added/removed while the server is running, right? However, I noticed that when using Jastow with Undertow, the JSPs are being recompiled every time they are changed. This is happening without my server application calling the PeriodicEvent interface. Is the call by the background thread to the JspServlet still necessary? If so, for what?

@ctomc
Copy link
Contributor

ctomc commented Jan 18, 2017

No it is not necessary anymore as we also support filesystem notifications for changing JSPs when they are modified.
However background thread refreshing is still supported as some filesystems don't support notifications on file changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant