PDA

View Full Version : Why not works?



BOBKUSPE
01-11-2012, 10:12 AM
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

Fou-Lu
01-11-2012, 02: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:


<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.

BOBKUSPE
01-11-2012, 10:23 PM
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