abilonds Posted October 13, 2011 Posted October 13, 2011 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
Tjoene Posted October 13, 2011 Posted October 13, 2011 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.
Tjoene Posted October 13, 2011 Posted October 13, 2011 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.
abilonds Posted October 13, 2011 Author Posted October 13, 2011 I have to create a directory in my www/ dir?
Tjoene Posted October 13, 2011 Posted October 13, 2011 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.
abilonds Posted October 13, 2011 Author Posted October 13, 2011 <HTML> <HEAD> <TITLE>Hello World</TITLE> </HEAD> <BODY> <H1>Hello World</H1> Today is: 13 </BODY> </HTML> As I said, there is just html
Guest xaav Posted October 14, 2011 Posted October 14, 2011 Someone had changed the permissions on your compilation directory. Everything seems fine now.
abilonds Posted October 14, 2011 Author Posted October 14, 2011 Thanks xaav, appreciate your help, very much.
Guest xaav Posted October 15, 2011 Posted October 15, 2011 Glad your problem got solved! Please spare a few minutes to take our brief survey:http://feedback.heliohost.org/Your participation in this survey is greatly appreciated.
Recommended Posts