jstat和JSP配置

发布于 2024-09-05 21:22:49 字数 220 浏览 1 评论 0原文

我已经在我的目录中安装并配置了 jstat装有 Windows XP 的 PC,使用示例 Java 程序对其进行了测试。但我需要知道如何将 jstat 与 JSP 或 Tomcat 一起使用,是否需要任何其他进一步的配置?

I have installed and configured jstat in my PC with Windows XP, tested it with sample Java program. But I need to know how to use jstat with JSP or Tomcat, is there any other futher configuration needed or not?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

你对谁都笑 2024-09-12 21:22:49

原则上不会。您可以在 JSP 中或最好在 Servlet 类中编写、导入和执行 Java 代码,就像使用“普通”Java 类一样。然而,网络服务器必须与 jstat 运行在同一台机器上。

In principle not. You can just write, import and execute Java code in a JSP or preferably in a Servlet class the same way as you do with a "plain vanilla" Java class. The webserver has however to run at the same machine as the jstat runs.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文