Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Problem with java web servers

  Asked By: Madeline    Date: Nov 30    Category: Java    Views: 710

I used to write a web site with jsp and to use Blazix web server.I could run my programs(like jsp,html,image and flash files)on this server correctly.But unfortunately,my server timed out and I decided to change my web server. I tested both jrun 4.0 and tomcat 4.0 as a web server but I couldn't run those jsp files(but the html,image and flash files run).I've written a simple jsp file and I was successful in running that.
Do you know what my problem is.If you know,Please let me know.
I'm looking forward to hearing from you.



2 Answers Found

Answer #1    Answered By: Corey Brown     Answered On: Nov 30

Did you set the JAVA_HOME environment variable . It should points at the base directory where you have installed the JDK ?

You should also add JAVA_HOME/bin to your PATH environment variable, so that the java  command is recognized and executed.

Answer #2    Answered By: Fred Hicks     Answered On: Nov 30

You may also need to add the environment variable for JAVA_HOME/lib/tools.jar to your classpath.

Didn't find what you were looking for? Find more on Problem with java web servers Or get search suggestion and latest updates.