This week's book giveaway is in the Agile and Other Processes forum. We're giving away four copies of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java and have Dr. Raoul-Gabriel Urma & Richard Warburton on-line! See this thread for details.
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 ]
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 ]