|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
|||
|
|||
|
Hello all,
I am a newbie to JSP and Java Servlets. I have a RedHat v6.2 Linux server and I installed Tomcat to the server. The installation was very successful, and I included the tomcat-apache.conf to the httpd.conf. Restarted HTTPD and no errors at all. Now I have this test JSP script, I tried to run it: http://64.23.60.11/jsp/date.jsp It's supposed to load the script, but it prompts to download the script! What's the problem?! What could be the possible problems? I chmoded and chowned the JSP files. No result. Making sure the Apache conf files have the necessary commands such as AddType text/jsp .jsp AddHandler jserv-servlet .jsp But afterall I can't find the solution to solve the problem. My dedicated host refuses to help me find out the problem BECAUSE they simply say they can't provide support on the Tomcat software. All JSP experts here... any ideas? Your help will be much appreciated Thank you. David |
|
#2
|
|||
|
|||
|
maybe..
Ok,
You might want to try putting your jsp into your webapps/ROOT folder of your Tomcat distro. Then try accessing it with the address you used: URL Good Luck! |
|
#3
|
|||
|
|||
|
Ok I got my colocation host to fix the problem. Now the prompt download problem is over, but another problem arises. Some java classes are not found for some reason:
http://mass-suicide.com/date.jsp Any ideas? |
|
#4
|
|||
|
|||
|
You need to place the class file or the JAR file containing the class file for dates.JspCalendar in the WEB-INF/classes directory. Another option is to put the JAR in the WEB-INF/lib directory.
Sincerely, Anthony Eden |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > Please help me with Tomcat! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|