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.
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards

This thread has been viewed 1374 times.

All times above are in ranch (not your local) time.
The current ranch time is
Sep 20, 2018 06:19:36.