I understand that all javascript files are not compiled by the server, as it is simply served directly.
However, in my backend, most variables are organized as static final variables so that when things are changed that can be changed in one place altogether.
Currently I have no way to maintain the coordination between the javascript and the backend action class variables.Seems like the only suggestion online is to create javascript in jsp files. Is there any alternatives to this?