File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Call java method from jsp
Joined: Jan 09, 2011
Sep 28, 2011 13:28:32
How do i call my
. I have written a method to generate
and i want to invoke this method from my jsp?? Please do advice on what approach do i need to take to achieve this.
Author and ninkuma
Joined: Jan 10, 2002
Sep 28, 2011 13:41:45
Invoke how? You need to supply more detail.
Asking smart questions
Books by Bear
Joined: Jul 06, 2005
Sep 28, 2011 14:51:48
If you want to invoke java code, the best way is to write it as a
You can return the generated PDF via the servlet output stream from the servlet.
I agree. Here's the link:
subject: Call java method from jsp
run applet from java class
AJAX Issue - Messages got lost...
How to call a cgi/perl script from jsp/java bean
calling a .jsp page from a javabean
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015