Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-11-2012, 10:12 AM   PM User | #1
BOBKUSPE
New Coder

 
Join Date: Dec 2008
Posts: 71
Thanks: 8
Thanked 0 Times in 0 Posts
BOBKUSPE is an unknown quantity at this point
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
BOBKUSPE is offline   Reply With Quote
Old 01-11-2012, 02:09 PM   PM User | #2
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,650
Thanks: 4
Thanked 2,451 Times in 2,420 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
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.
Fou-Lu is offline   Reply With Quote
Old 01-11-2012, 10:23 PM   PM User | #3
BOBKUSPE
New Coder

 
Join Date: Dec 2008
Posts: 71
Thanks: 8
Thanked 0 Times in 0 Posts
BOBKUSPE is an unknown quantity at this point
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
BOBKUSPE is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:43 AM.


Advertisement
Log in to turn off these ads.