| Author |
Call java method from jsp
|
rakesh krish
Greenhorn
Joined: Jan 09, 2011
Posts: 7
|
|
Hello All,
How do i call my java method from jsp. I have written a method to generate pdf and i want to invoke this method from my jsp?? Please do advice on what approach do i need to take to achieve this.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56179
|
|
|
Invoke how? You need to supply more detail.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Stefan Evans
Bartender
Joined: Jul 06, 2005
Posts: 1003
|
|
If you want to invoke java code, the best way is to write it as a servlet.
You can return the generated PDF via the servlet output stream from the servlet.
|
 |
 |
|
|
subject: Call java method from jsp
|
|
|