SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    cd /pub; more beer diacono's Avatar
    Join Date
    Dec 2000
    Location
    Horsham, West Sussex, UK
    Posts
    277
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    jsp include, idiot <--

    i have to turn up to the expert for this question.
    i was browsing away and came across with this:
    Code:
    <table> 
     <tr valign='top'><td><%@include file='sidebar.html'%</td> 
      <td><table> 
       <tr><td><%@include file='header.html'%></td></tr> 
       <tr><td><%@include file='introduction.html'%</td></tr> 
       <tr><td><%@include file='footer.html'%></td></tr> 
       </table> 
      </td> 
     </tr> 
    </table>
    i dont know java, but i'm considering it...
    i thought i would be kindoff easy to use (knowing that my server been configured for running servlets, etc)

    my question is:
    would i have to save the file as jsp?
    is it like SSI's where you have to change the extension into shtml? (even though i've heard you can get around that)

    and lastly, how do i find from the web if a server has SSI, php or jsp support installed? do i have do do it through telnet?

    btw. i'm running apache on linux.
    tia
    <Edited by diacono on 01-02-2001 at 04:20 PM>

  2. #2
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Someone please correct me if I am wrong but just because your server is setup to handle servlets does not mean it is set up to run JSP especially if your servlet engine is ApacheJServ, you will need a jsp engine such as jakarta tomcat you can get it http://www.apache.org
    Please don't PM me with questions.
    Use the forums, that is what they are here for.

  3. #3
    cd /pub; more beer diacono's Avatar
    Join Date
    Dec 2000
    Location
    Horsham, West Sussex, UK
    Posts
    277
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok,ok.
    the complete story is that its a mates server who kindly serves my site for me. i know he is a java programmer and that the server is configured, but apart form that i dont really know much else... :-(



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •