Jump to content

Recommended Posts

Posted

Hi Helio ppl,

I requested Java, and I think it's enabled for me. But, it doesn't even run a jsp containing just html. :/

 

abilondias.heliohost.org/index.jsp

 

Best Regards

Abilonds

Posted

Java seems to work.

However, the reason your code doesn't work it because of the following error:

java.io.FileNotFoundException: /usr/local/jakarta/apache-tomcat-5.5.33/work/Catalina/abilondias.heliohost.org/_/org/apache/jsp/index_jsp.java (No such file or directory)

 

You seems to be missing the index_jsp.java file, or the directory to it is wrong.

Posted

I see you try to use an FileOutputStream.

I don't have any experience with Java on Server side, but my guess is that you have filled a wrong directory in.

Maybe you could use "./" followed by the filename you want to write to.

Then you will write in the same folder as your .java file is in.

Posted

Depending on what you wish to do.

To what and to where do you want the FileOutputStream to write?

 

Or maybe you give use the code, and we could fix the error.

Posted

<HTML>

<HEAD>

<TITLE>Hello World</TITLE>

</HEAD>

<BODY>

<H1>Hello World</H1>

Today is: 13

</BODY>

</HTML>

 

As I said, there is just html

Posted

Someone had changed the permissions on your compilation directory. Everything seems fine now.

Guest
This topic is now closed to further replies.
×
×
  • Create New...