• Post Reply Bookmark Topic Watch Topic
  • New Topic

JOptionPane in foreground from a forwarded-by-a-servlet JSP page  RSS feed

federico tonioni
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi... i am developing a web application and i have five radiobuttons with a submit in a jsp page and a servlet which handles the request forwards to the same jsp page after some elaboration.
some of the buttons require an Input Dialog to pop up so that the servlet could process it..
it works fine but the dialog doesn't pop up itself in foreground at first time the servlet invokes it .. i presume because i specify no parent in the following:
param = JOptionPane.showInputDialog("Please insert a collection name");

how could i always get this input dialog showed up?
thank you in advance
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!