File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Calling Java method from JSP" Watch "Calling Java method from JSP" New topic
Author

Calling Java method from JSP

Sneha Durvasula
Greenhorn

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
Bartender

Joined: Oct 29, 2001
Posts: 8836
    
    7

You would have to use AJAX


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Calling Java method from JSP
 
Similar Threads
conversion from inputstream to fileinputstream
middleware
printing extended characters in swing
java parameter passing
Hi Herb!