Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Why not works?

  1. #1
    New Coder
    Join Date
    Dec 2008
    Posts
    71
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Why not works?

    Hi,

    I am not a Java programmer! Nor I know nothing about it!

    I have however instaled the Apache server for WIN and the Tomcat in my computer. Ok?

    Well, now I am trying to open a file in my hosting but it donīt open (My hoster supports JAVA)

    http://www.dhytex.com/java/countcharacters.jsp

    Error message:

    TTP Status 404 - /java/countcharacters.jsp

    type Status report

    message /java/countcharacters.jsp

    description The requested resource (/java/countcharacters.jsp) is not available.


    Any help is welcome!

    BOB

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,979
    Thanks
    4
    Thanked 2,659 Times in 2,628 Posts
    I haven't done any JSP work in years, so I can't help you with that part, but the above error is a 404. That means that the server cannot find the file you are looking for, so double check the filepath to make sure the jsp page is located there.
    A simple test can be done to verify your JSP is operational:
    PHP Code:
    <html>
        <
    head>
            <
    title>JSP Test</title>
        </
    head>
        <
    body>
            <
    h1><% out.println("Hello World!") %></h1>
        </
    body>
    </
    html
    If that shows the hello world! message, your JSP is good to go.

  • #3
    New Coder
    Join Date
    Dec 2008
    Posts
    71
    Thanks
    8
    Thanked 0 Times in 0 Posts
    Hi

    Well, there is a problem of configuration on my Server. It donīt recognines that file. The messages continues "The requested resource (/helloworld.jsp) is not available. I pun on directory root and the message is the same.

    The Java is not configured in the machine?

    Regards

    Bob


  •  

    Posting Permissions

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