is it possible to include a servlet in a jsp page? if so how?
是否可以在jsp页面中包含servlet?如果是这样的话?
2 个解决方案
#1
0
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.
您不能包含它(通过其中一个JSP指令),但您可以链接到它。在JGuru有一个很好的例子。看到这篇文章。
#2
0
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.
您还可以使用Jakarta IO标记库在JSP页面中包含一个URL(可以是任何URL)的内容。
#1
0
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.
您不能包含它(通过其中一个JSP指令),但您可以链接到它。在JGuru有一个很好的例子。看到这篇文章。
#2
0
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.
您还可以使用Jakarta IO标记库在JSP页面中包含一个URL(可以是任何URL)的内容。