Results 1 to 4 of 4
  1. #1
    fishman is offline Member
    Join Date
    Jun 2010
    Posts
    2
    Rep Power
    0

    Default Servlet CLASSPATH for Apache

    Hi All,
    I'm trying to play around with Java Servlets. I have a apache web server running on Solaris. And I'm trying to understand which file I add the JAVA CLASSPATH too so that when apache starts up it will have access to mysql interface libraries etc.
    Could some one please tell me?


    Thanks.
    <><
    fishman:):confused:

  2. #2
    mangstadt is offline Member
    Join Date
    Jun 2010
    Location
    USA
    Posts
    19
    Rep Power
    0

    Default

    You need a Web Container, like Apache Tomcat, to run Java applications. Often times, Apache is used in conjunction with Tomcat, but you at least need Tomcat for running your servlets, JSPs, etc.

  3. #3
    fishman is offline Member
    Join Date
    Jun 2010
    Posts
    2
    Rep Power
    0

    Default

    Hi,
    I thought you could run Java Servers without the need for Tomcat?

  4. #4
    mangstadt is offline Member
    Join Date
    Jun 2010
    Location
    USA
    Posts
    19
    Rep Power
    0

    Default

    No, you can't run a Java web application on just an HTTP server. You need either a Web Container like Tomcat or an Application Server like WebSphere. Web Containers do all the basic stuff like JSPs and Servlets. Application Servers are more advanced because, in addition to Servlets and JSPs, they also support Enterprise Java Beans.

Similar Threads

  1. how can i link html+servlet+xml to form servlet
    By balachandarr in forum Java Servlet
    Replies: 0
    Last Post: 04-15-2009, 04:06 PM
  2. Replies: 1
    Last Post: 12-02-2008, 12:23 AM
  3. Replies: 0
    Last Post: 11-15-2008, 07:29 AM
  4. Replies: 0
    Last Post: 08-30-2008, 11:52 AM
  5. Replies: 1
    Last Post: 08-07-2007, 03:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •