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
Win a copy of
Murach's Java Servlets and JSP
this week in the
Call java method from jsp
Joined: Jan 09, 2011
Sep 28, 2011 13:28:32
How do i call my
method from jsp. 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.
It is sorta covered in the
JavaRanch Style Guide
subject: Call java method from jsp
How to call a cgi/perl script from jsp/java bean
AJAX Issue - Messages got lost...
calling a .jsp page from a javabean
run applet from java class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014