File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Calling Java method from JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Calling Java method from JSP" Watch "Calling Java method from JSP" New topic

Calling Java method from JSP

Sneha Durvasula

Joined: Sep 26, 2013
Posts: 10
How to call a java function in another class when a menu item is selected in a JSP.I am using struts2 framework
Joe Ess

Joined: Oct 29, 2001
Posts: 9126

You would have to use AJAX

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Calling Java method from JSP
It's not a secret anymore!