View Full Version : Why not works?

01-11-2012, 11:12 AM

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)


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!


01-11-2012, 03:09 PM
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:

<title>JSP Test</title>
<h1><% out.println("Hello World!") %></h1>

If that shows the hello world! message, your JSP is good to go.

01-11-2012, 11:23 PM

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?