1

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?

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
Lalchand
  • 7,627
  • 26
  • 67
  • 79
  • Note that Java/JSP should really not to be confused with JavaScript (which you tagged first). JavaScript is an entirely different language with different purposes. – BalusC Jun 16 '10 at 13:48
  • ok BalusC by mistake i wrote javascript for java – Lalchand Jun 16 '10 at 15:50

1 Answers1

0

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.

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555