• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlets and Enterprise Server

 
Tim Eyre
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic