This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Is it possible to un Servlets/JSP on enterprise server? Our system administrator has installed enterprise server, but my HelloWorld servlet fails because it cant find GenericServlet. I can't find servlet.jar or any WEB-INF directories either.
Of course you can run Servlets/JSP, you just need a servlet container. If you have it already installed and your helloworld does not find GenericServlet, then you have a classpath/configuration problem. Or maybe you don't have the servlet.jar library. Make sure you have a current JDK in your classpath and check the jar in WEB-INF/lib directory.
Joined: May 20, 2002
Thanks Juanjo, When you say I need a servlet container - I take it you mean something like Tomcat or JRun? I thought enterprise server was a sevlet container.
Joined: Feb 04, 2002
Well, when I said a servlet container I didnt meant any particular server. But an Enterprise Server, is generally taken as a webserver including not just a servlet container(like Tomcat) but also supporting Enterprise Java Beans(EJB) implementation. So if you are using a Enterprise Server you can run Servlets/JSP, but maybe Tomcat is enough for your needs.