aspose file tools*
The moose likes Servlets and the fly likes Servlets and Enterprise Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlets and Enterprise Server" Watch "Servlets and Enterprise Server" New topic
Author

Servlets and Enterprise Server

Tim Eyre
Greenhorn

Joined: May 20, 2002
Posts: 20
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.
Juanjo Bazan
Ranch Hand

Joined: Feb 04, 2002
Posts: 231
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.
Tim Eyre
Greenhorn

Joined: May 20, 2002
Posts: 20
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.
Juanjo Bazan
Ranch Hand

Joined: Feb 04, 2002
Posts: 231
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Servlets and Enterprise Server