Forums Register Login
Call java method from jsp
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.
Invoke how? You need to supply more detail.
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.
Tell me how it all turns out. Here is a tiny ad:
Download Free Java APIs to Work with Office Files and PDF

This thread has been viewed 1390 times.

All times above are in ranch (not your local) time.
The current ranch time is
Dec 13, 2018 03:41:53.