How can I include a servlet in a jsp page?
Question
is it possible to include a servlet in a jsp page? if so how?
Solution
You can't include it (via one of the JSP directives), but you can chain to it. There's a great example over at JGuru. See this article.
OTHER TIPS
You can also use the Jakarta IO Tag Library to include the contents of one URL (it can be any URL) inside a JSP page.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow