i want to call jsp method from button not jsp file please tell me how to call jsp method not jsp file.
Can you explain in a little more detail what it is that you're trying to do? Your question doesn't make a lot of sense. By the time a button in a web page is drawn, the JSP has finished executing. [ February 22, 2008: Message edited by: Ben Souther ]
Joined: Feb 21, 2008
Joined: Mar 22, 2005
Originally posted by rupal patel: You can do so by following way
Here when you click on the button, it will alert you the value returning from the displayResult() method.
No, it cannot. And your example shows nothing of the kind.
You really need to read this article to understand how JSP really works. [ February 25, 2008: Message edited by: Bear Bibeault ]