File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlets and Enterprise Server
 
Similar Threads
Starting J2EE server?
Setting Read-Only methods in VAJ Entry + WAS 3.5AE
Enterprise Manger 10g ASC? question
bit offtopic: server side java ?
Can I use Application server as Webserver?