How to print result from java controller class in dialog box or pop up window JSP page ?

I have a jsp page that takes AppName as input.
The app name is selected by user through drop down.
The controller clas then validates AppName, whether it exists or not.
If yes, It returns its admin name and email.
I want to print admin name and email in a dialog box/pop up window.
How to print result from java controller class in dialog box or pop up window JSP page ?

Hi @arpitmadan22,

This post was moved to a different board that fits your topic of discussion a bit better. This means you’ll get better engagement on your post, and it keeps our Community organized so users can more easily find information.

As you’ll notice, your Topic is now in the Project Development Help and Advice board. No action is needed on your part; you can continue the conversation as normal here.

Let me know if you have any other questions or if I can help with anything else.

Cheers!