开发者

Where does the Java EE folder go?

I just downloaded from: http://java.sun.com/products/servlet/download.html the Java(TM) Servlet AP开发者_开发知识库I Specification Interface Classes 2.3

Inside this zip file I have the folder

  • javax (folder)
  • servlet (folder)
  • http (folder)
  • bunch of class files

Where do I put this? So I can call it from my Java program?


The servlet-api.jar goes unmodified on your classpath while you develop your application. The target deployment place (inside Tomcat or a full fledged Java EE server) provides its own version to your program so the development one you downloaded should not be part of what you deploy to the final location.

What is your deployment platform?


I don't know what this is, but if you want to run servlets you need a servlet/JSP engine. I'd recommend Apache Tomcat or Jetty. It will have all the JARs you need to run a web app.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜