#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2001
    Posts
    229
    Rep Power
    13

    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!
  2. #2
  3. No Profile Picture
    Moderator =(8^(|)
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Feb 2002
    Location
    Sacramento, CA
    Posts
    1,710
    Rep Power
    14
    Do you have an application server running? It doesn't look like the jsp page is even getting compiled.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2001
    Posts
    229
    Rep Power
    13
    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...
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2001
    Posts
    229
    Rep Power
    13

    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!!!!
  8. #5
  9. No Profile Picture
    Moderator =(8^(|)
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Feb 2002
    Location
    Sacramento, CA
    Posts
    1,710
    Rep Power
    14
    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/jak...e/v4.1.12/bin/
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2001
    Posts
    229
    Rep Power
    13

    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!!!!
  12. #7
  13. No Profile Picture
    Moderator =(8^(|)
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Feb 2002
    Location
    Sacramento, CA
    Posts
    1,710
    Rep Power
    14
    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/...7/index2a.html

IMN logo majestic logo threadwatch logo seochat tools logo