aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Dialog for Input in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Dialog for Input in JSP" Watch "Dialog for Input in JSP" New topic
Author

Dialog for Input in JSP

Prasad Babu
Ranch Hand

Joined: Jul 17, 2005
Posts: 57
Hi All,
I have the problem like:

Basically, I have a jsp which I want the user to click on a button then open a dialog for user input that lists information from the database.(the user has to select data that is listed only.) the dialog box (it has dropdown list) is populated with data from database dynamically. once user submit the dialog, its should be closed.
Thanks in advence
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
It wouldn't be just a dialogue. It would be a window, rather than a dialogue. You need to send the request to a JSP/Servlet and get a JSP page loaded, as a response, in a new window.

Well, now if you want to close the window on submit then you can use a javascript function window.close(), I guess.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60046
    
  65

This is more about the HTML and Javascript to do this than JSP, so moved to the HTML forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dialog for Input in JSP
 
Similar Threads
Modal dialogs
showInputDialog( ) focus
Input field and form ?
Execute Servlet At Given Time Instance
What things required to write generate multi lingual characters through Java