index.jsp too not working!!!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Deepam
    New Member
    • May 2007
    • 4

    index.jsp too not working!!!

    Hello folks!
    I have apache-tomcat-4.1.34 + j2sdk1.4.0-rc installed.
    CLASSPATH : .;C:\apache-tomcat-4.1.34\common\l ib\servlet.jar
    JAVA_HOME : C:\j2sdk1.4.0-rc

    But still am unable to run http://localhost:8080/index.jsp.
    Hope to see a reply(help) soon.
    Thank you!
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    And what port have you set up Apache to listen on in your httpd.conf file?

    Comment

    • Deepam
      New Member
      • May 2007
      • 4

      #3
      Am new to Apache.had been using it at college.now trying to work from home.since i hadnt done anything of tht at college i dont know what is meant by setting the port at httpd.conf for Apavhe to listen.is it something to do with any of the xml's-listener classes?

      Comment

      • Deepam
        New Member
        • May 2007
        • 4

        #4
        Originally posted by Banfa
        And what port have you set up Apache to listen on in your httpd.conf file?
        >>Forget to thank you --> Thanks a lot...

        Comment

        • Banfa
          Recognized Expert Expert
          • Feb 2006
          • 9067

          #5
          Originally posted by Deepam
          Am new to Apache.had been using it at college.now trying to work from home.since i hadnt done anything of tht at college i dont know what is meant by setting the port at httpd.conf for Apavhe to listen.is it something to do with any of the xml's-listener classes?
          This nothing about any xml-listener class or anything at all to do with Java in fact.

          This is about getting your Apache web server to successfully serve files (any file).

          You said you tried to connect to //localhost:8080 but the default listen port for Apache (and most other web servers) is 80 which is the port reserved for web traffic.

          Unless you have changed the Apache config in httpd.conf (and I am guessing you haven't since you don't appear to have not heard of the file) Apache will be listening on port 80 not port 8080. Try //localhost:80 or simply //localhost since port 80 is assumed if left out.

          Comment

          • Deepam
            New Member
            • May 2007
            • 4

            #6
            Thnx a ton for ur prompt replies!!!
            wel my problem has got solved by including the tools.jar file in the classpath.

            Comment

            Working...