0

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 ?

31st Mar 2020, 10:49 AM
aritri raha
aritri raha - avatar
1 Answer
+ 2
You need to ajax or JSON for this. After getting response from server side you can use jQuery library for pop-up window or any other library.
31st Mar 2020, 11:57 AM
A͢J
A͢J - avatar