SunQuest
           Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old May 25th, 2001, 09:47 PM
Entemedia Entemedia is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Posts: 5 Entemedia User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy Please help me with Tomcat!

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
Comments on this post
Gran Roguismo agrees!

Reply With Quote
  #2  
Old May 29th, 2001, 11:58 AM
FatPiper FatPiper is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Posts: 3 FatPiper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to FatPiper Send a message via Yahoo to FatPiper
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!

Reply With Quote
  #3  
Old May 29th, 2001, 09:53 PM
Entemedia Entemedia is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Posts: 5 Entemedia User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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?

Reply With Quote
  #4  
Old May 30th, 2001, 03:08 PM
aeden aeden is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Miami, FL
Posts: 0 aeden User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to aeden Send a message via Yahoo to aeden
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > Please help me with Tomcat!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

IBM developerWorks




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway