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:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old October 21st, 2002, 12:15 PM
chausfeld chausfeld is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Posts: 187 chausfeld User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 37 m 23 sec
Reputation Power: 7
Unhappy beginner: why don't these includes work?

please look at the code at http://www.canismajor.net/FC/index.jsp

also if you go to just http://www.canismajor.net/FC/ you will see the "includes" folder to see the top.jsp and bottom.jsp files that I'm trying to call upon. I worked with jsp files a LITTLE. what am I doing wrong? why is it not calling the includes when I view the page? I'm trying to get the top navigation to work dynamically...

THANKS!

Reply With Quote
  #2  
Old October 21st, 2002, 12:28 PM
bricker42 bricker42 is offline
Moderator =(8^(|)
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Feb 2002
Location: Sacramento, CA
Posts: 1,710 bricker42 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 38 sec
Reputation Power: 8
Send a message via AIM to bricker42
Do you have an application server running? It doesn't look like the jsp page is even getting compiled.

Reply With Quote
  #3  
Old October 21st, 2002, 12:35 PM
chausfeld chausfeld is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Posts: 187 chausfeld User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 37 m 23 sec
Reputation Power: 7
Um, sorry, did I say that I'm really new at this?

Application server? So, do you mean that I need something specific running on the server? I uploaded the files to a server where my personal site is hosted, just to test it - it's hosted by an external company (clickhost.net) so I know nothing about the server. I don't have my own server running. BUT - this site if for a friend's company. Should I have her upload the files to THEIR server and see if it works there? They have a full IT dep't so I'm sure they'd know what you are talking about if only we knew what to ask them...

Reply With Quote
  #4  
Old October 21st, 2002, 01:53 PM
chausfeld chausfeld is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Posts: 187 chausfeld User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 37 m 23 sec
Reputation Power: 7
more info...

well, I spoke to the IT guy about the server and he said that JSP's won't work there... but that SSI and ASP will. so, since I don't know SSI or ASP, how can I rework the includes/top.jsp into an ASP file and get it working? should I post the code or can you access it from the link above?

THANKS in advance for anyone's help!!!!

Reply With Quote
  #5  
Old October 21st, 2002, 02:01 PM
bricker42 bricker42 is offline
Moderator =(8^(|)
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Feb 2002
Location: Sacramento, CA
Posts: 1,710 bricker42 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 38 sec
Reputation Power: 8
Send a message via AIM to bricker42
Hehe. Well, we have an ASP forum here (It's hidden under the .NET section).

To get started with ASP, go read some tutorials. They'll walk you through it:
http://www.w3schools.com/asp/default.asp

Also, if you're wanting to learn java/jsp specifically, you can run a server on your own computer to test with.
Tomcat is a very nice, free, java app server.
You can get a binary here: http://jakarta.apache.org/builds/ja...se/v4.1.12/bin/

Reply With Quote
  #6  
Old October 21st, 2002, 02:12 PM
chausfeld chausfeld is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Posts: 187 chausfeld User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 h 37 m 23 sec
Reputation Power: 7
more help please?

I honestly don't have the time to learn a new language right now... but thanks for the link. I *will* look into that as the tutorial looks very easy to understand.

Since time is of the essence, what other way can I get the navigation to work, while having it in an include, so that I can set the correct tab to highlight depending on which page you're on? The tabs have 3 states: on, roll, and off. If you want to see the gist of the template, go to http://www.canismajor.net/FC/indexREV.htm
(fyi, some images are broken)

THANKS AGAIN!!!!

Reply With Quote
  #7  
Old October 21st, 2002, 03:16 PM
bricker42 bricker42 is offline
Moderator =(8^(|)
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Feb 2002
Location: Sacramento, CA
Posts: 1,710 bricker42 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 38 sec
Reputation Power: 8
Send a message via AIM to bricker42
SSI. It's the same syntax that ASP uses to include pages, actually. (One of the big reasons I don't like ASP )

http://hotwired.lycos.com/webmonkey...07/index2a.html

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > beginner: why don't these includes work?


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 | 
  
 





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