aspose file tools*
The moose likes Servlets and the fly likes Calling JOptionPane in A servlet Class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Calling JOptionPane in A servlet Class" Watch "Calling JOptionPane in A servlet Class" New topic
Author

Calling JOptionPane in A servlet Class

Swetha Mohan
Greenhorn

Joined: Dec 23, 2005
Posts: 15
Hello
I am trying to validate some user entry from a HTML page in a servlet class , in that sevlet class i want to display a JOptionPane to show some message to user

How its possible

regards
swetha
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Serv;lets can only communicate with the client via HTML, although this can include other content such as JavaScript and images. You cannot directly run Java on the client machine unless you use an Applet or other form of client-side Java.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Calling JOptionPane in A servlet Class
 
Similar Threads
How does JOptionPane return the proper value?
Swing is my Nemesis
How to remove selection of initialValue in JOptionPane
Message Dialog box --> action performed.
JOptionPane and JDialog