I have a JQuery code that opens a Modal Popup. I would like to execute this JQuery code (function) from a method in the Servlet.
I want to achieve one of these:
- Call the JQuery method that is defined in a JSP page from the Servlet.
- Execute the JQuery code inside a method in the Servlet.
Is this possible? I couldn't find anything about this.