Server side includes possible in template ???

Can I use server side include in application templates. Does not
seem to work ??
Thanks

Could you pls post your actual requirement. Not sure what you are
trying to attempt. Pls post your portal version also.

Similar Messages

  • Which is better server side include or templates

    Hi
    which is better server side include or templates? i mean which will be faster in development? and also more robust?
    thanks in advance.

    Hello,
    I think server side include.
    since you will only need to run the database.
    Templates still have the pains of pages
    cheers

  • What is the difference between jsp :include and server side include

    what is the difference between jsp :include and server side include(request dispatcher include method)????
    i understand that both request dispatcher include method and jsp:include take dynamic data,so when would one use request dispatcher include and when jsp:include.
    Is the usage interchangeable?i believe jsp include is used only for jsp/html but include directive can be used to include servlets ,jsp and html....correct me if i m wrong and
    do suggest if u hav ny other diff in this context...

    The difference really is: in what format do you want your inclusions? If your environment has many Java developers and only a few designers that focus mainly on, say, Flash, that might push you more towards the server-side include() directive. Or, if you have a large set of pages that receive dynamic content that is displayed in a consistent fashion (such as a workflow header area on a page).
    If, on the other hand, you have more web designers, there may be a greater desire to deal in markup rather than Java code. Java developers themselves might prefer to view markup (JSP) that more resembles the eventual output than something occuring in Java code.
    Finally, there are considerations of tiering. While it is totally possible to (and I have previously) implement 'view classes' that render markup or generate layout templates, JSP's offer, IMO, a subtle, psychological advantage. By forcing a developer to work in a different format, markup versus Java source, the separation on view from controller and model becomes a bit easier. It is still possible to make mistakes, but if a developer at some point notices, "Wait, I'm in a JSP, should I be importing a java.sql class?", then the choice to use JSP includes has paid off in spades.
    - Saish

  • Server-side includes question

    I preface this all by saying that I have never used a
    server-side include but am considering it based on a suggestion
    from a thread yesterday.
    If I created a server-side include file that contained only
    my title banner/nav bar and placed that file at the top of each of
    my pages, would it then be possible to have content (Flash, in this
    case) from an editable region in a template-based file display on
    top of that banner? Can they overlap, I guess is what I'm asking.
    Thanks - JAY

    > This would probably be an issue mostly if you don't want
    to synchronize
    > your
    > entire site, I suppose. What about file directory
    issues? Can you keep
    > pages in
    > sub-directories based on the specific template from
    which they were
    > created or
    > will that cause problems (such as SSI functionality)?
    DW is quite smart enough to manage your page links.
    Plus, if you can use virtual includes, then the link to the
    include files
    will be the same for any page in any location in your site.
    So - you have no link worries in this sense. But a more
    specific example
    that leads you to ask your question might help get a better
    answer here.
    > class 1. I've got my nav bar/title banner
    > happening as an SSI to be included on all pages - class
    2. Lastly, all
    > page-specific content including detail text, images, and
    some info and nav
    > Spry
    > panels will appear in editable regions, (defined by
    divs, presumably?) -
    > class
    > 3. WIth the latter, I'll preload the editable regions
    with the type of
    > content
    > I want and then customize it on each page, relink, etc.
    Using an editable region for a section-specific navigation
    include is a
    great way to do it.
    Good luck!
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "LumberBisquit" <[email protected]> wrote in
    message
    news:[email protected]...
    >
    quote:
    Originally posted by:
    Newsgroup User
    > But underlying it all is this nasty requirement to
    upload all changed
    > files.
    >
    >
    > This would probably be an issue mostly if you don't want
    to synchronize
    > your
    > entire site, I suppose. What about file directory
    issues? Can you keep
    > pages in
    > sub-directories based on the specific template from
    which they were
    > created or
    > will that cause problems (such as SSI functionality)?
    >
    >
    quote:
    > First, I mentally separate the page layout into three
    sections:
    >
    > 1. Stuff that will not change for the life of the site
    (i.e., the basic
    > structural elements)
    > 2. Stuff that *could* change from time to time (e.g.,
    navigation
    > elements,
    > burst advertisements, section-specific navigation, etc.)
    > 3. Stuff that *will* change from one page to the next
    >
    > Then I create a template containing all class1 elements.
    Next I create
    > server-side include files containing all class 2
    elements and place them
    > on the
    > template as needed. Note - some of the class 2 elements
    may be
    > "section-specific elements", and their placement on the
    template will be
    > subject to the next item. Finally, I insert editable
    regions to cover the
    > class
    > 3 items, INCLUDING the section-specific navigation.
    >
    >
    > This makes sense to me and is very much what I had in
    mind, (after asking
    > lots
    > of questions on this forum, that is). This site will
    need at least three
    > different structural pages - class 1. I've got my nav
    bar/title banner
    > happening as an SSI to be included on all pages - class
    2. Lastly, all
    > page-specific content including detail text, images, and
    some info and nav
    > Spry
    > panels will appear in editable regions, (defined by
    divs, presumably?) -
    > class
    > 3. WIth the latter, I'll preload the editable regions
    with the type of
    > content
    > I want and then customize it on each page, relink, etc.
    >
    > Thanks so much!
    >
    > JAY
    >

  • Contribute changing relative path for server-side include

    I am using Contribute CS3, version 4.1, and my pages crash
    every time a send a draft for review, because Contribute is
    rewriting a relative URL in a server-side include.
    The server-side include (before I send for review) reads:
    <!--#include file="../foo/bar.fileextention"-->
    After I edit other portions of the page and send the draft
    for review, it reads:
    <!--#include file="http:
    //www.servername.com/foo/bar.fileextension"-->
    Which results in the draft being unreadable.
    Is there any way to tell Contribute not to monkey with this
    URL? I have hunted, read the forums, checked the knowledge base,
    and coming up empy.
    Thanks in advance for any help you can provide!! I really
    appreciate it!
    -Nicholas

    Answering my own question.
    I researched this complete forum and with taking ideas from
    different posts, I was able to figure this out. I thought I would
    post it for anyone else needing to know the answer in one place:
    Include tags must read:
    <!--#include virtual="includes/fileName.html"-->
    (Include file is NOT a real HTML doc -- no tags in file
    except for CSS, as it would be used if not using Contribute.)
    No reference to .dwt needed nor Template created.
    No Edit instance tags needed anywhere.
    Contribute user navigates to page:
    [Upper right corner] Click Choose...
    [In my structure] User opens includes folder (double clicks)
    User selects THE file (clicks OK)
    User clicks on Edit Page button
    (Text is now editable.)
    User edits text.
    User clicks on Publish button.
    Worked for me several times trying.
    - Janet

  • Server Side Includes and Divs

    I have a template (dwt) for my site with editable regions for
    menus. I want to use Server Side Includes for the menu, as not all
    the pages will have the same menu.
    I have designed the site template (and pages) with css and
    divs. The area for the SSI is a div of size 145x335. The menu which
    I want to put inside this div will be a div based menu. I havent
    had any luck displaying the Div from the SSI yet. I have been
    looking on Google for help, but not much luck. I can get the Div to
    appear but the formatting doesnt show up.
    Im putting the SSI code in where I want it on the page, but
    im not sure exactly which code to get rid of in the shtml file. I
    know I need to remove body, head parts etc
    My site template uses CSS stored on the document, not an
    external css file.
    Any ideas?

    > Im sure Ive not got it right yet!! My head wont work
    lately!
    Yes. It's not working well here, either.
    Create your template with the editable region. In it, have
    links to a) the
    general stylesheet for all the pages, and b) the general
    stylesheet for all
    of the includes (these don't really need to be separate
    files). Spawn a
    child page, drop in the desired include, and save that page
    as
    whocares.shtml.
    That's it....
    The incude files themselves can be names anything you want -
    I like the
    'monkeybutt' extension, e.g.,
    yourinclude.monkeybutt
    The include files can make reference to CSS selectors, but
    cannot have
    embedded CSS rules, or links to external CSS files.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "~Billy~" <[email protected]> wrote in
    message
    news:eq234v$eq6$[email protected]..
    > Ive made myself confused now! I need it spelling out to
    me!
    >
    > Ok, a template file (dwt) with its css as an external
    style sheet.
    >
    > Rest of the sites pages made from the template file.
    >
    > Next, the template has one editable region for a choce
    of 2 div based
    > menus to
    > be placed into. Place either of these div menus into the
    template editable
    > region by creating two seperate SHTML files - one for
    each menu with the
    > body/head removed(and with internal or external css?)
    >
    > Next put the SSI code into the body of the template
    where I want the SSI
    > to
    > appear.
    >
    > Im sure Ive not got it right yet!! My head wont work
    lately!
    >

  • Server Side Includes with Server Behaviors

    Is it possible to include pages that have server behaviors attached to them, or are these behaviors limited to pulling in just plain html from the included pages?
    For example, I want two pages, index.php and login.php.
    I want the login.php page to have all of the user login behaviors/links/fields/buttons/etc. and then Include that on the index.php page. Am I supposed to be able to do this using ADDT server side includes?
    I've been successful using server side includes to include static text on a page, but not dynamic content with behaviors attached. I'm not sure if I'm just have a mistake, or if this won't work in the first place.
    thanks!

    Hi,
    this is generally possible, as the included files sure can have their own server hehaviours -- did that several times, where the "container" page had about no server behaviours embedded, but the included file did.
    ADDT´s server side includes will, loosely said, basically just "dynamically" strip the included document´s "head", but leave other components like server behaviours untouched
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Server Side Includes with .irpt pages

    I am intrested in using server side includes within my .irpt pages for example
    <!#INCLUDE FILE="file.inc">
    specifically inside of my applet tags to reference a standard set of parameters that I would like to be passed into my display templates.  Does xMII have a similar representation of server side includes for .irpt pages?

    It might make your head explode, but in a good way...
    Also, you'll need 11.5 or newer to run this. There are so incredibly many opportunities that this might open up for you to deliver not only static, but also dynamic embedded server-side content.
    There are many aspects of xMII that are largely untapped.  A few common ones are the ability of the Runner servlet (which invokes xMII BLS transactions) to stream virtually any type of content back to the requestor (XML, HTML, text, images, PDFs, Excel, whatever).
    The other feature that not too many people use is the ability to use an xMII BLS transaction as a "stylesheet".
    Lastly, there is the little-known "<SERVLET>" tag that can be used in IRPT pages.
    Put all these pieces together, and amazing things can be done.  The example I'm going to show you uses a BLS transaction, but it can also be done with an XSL stylesheet (if the desired included HTML is static).  But let's go for the cool approach...
    Let's assume you have some "stuff", such HTML page content, that you want included in a specific position on your web page.  Let's also assume that this "stuff" resides in a file accessible at http://localhost/MyInclude.html (the file extension doesn't really matter).
    Create a new BLS transaction with no inputs and an output of type String (the name of the output doesn't matter - but in our case, let's assume you name it HTMLOutput).  To workaround a cosmetic bug (which will be fixed in a future patch), you should also create a second output (doesn't matter what name or type) - so add one called "DummyOutput" of type String.  Not worth explaining why - just do it. 
    Next, add either a TextLoader or HTMLLoader action (in the Web group) to your transaction (they both do the same thing, actually - just different icons).  In the Output links tab, assign the StringContent of the loader action to the transaction output.  This basically accomplishes the loading and streaming of your included "stuff".
    Save this transaction.  Let's save it in a folder called CoolStuff, with the name IncludeTest.
    In your IRPT page, add the following code where you want the "stuff" to appear.
      <SERVLET NAME="Illuminator">
           <param name="Stylesheet" value="xacute://CoolStuff/IncludeTest" />
         <param name="OutputParameter" value="HTMLOutput" />
         <param name="Output-Content-Type" value="text/html" />
         <param name="Content-Type" value="text/html" />
      </SERVLET>
    Save the IRPT page, load it, and you're in business!
    You can probably already start to envision to possibilities for adding more sophisticated business logic to create "dynamically" embedded content in your IRPT pages...
    Best regards,
    Rick

  • Display Server Side Include at top of scrollable Div

    Hello,
    In this topic, I will be referring to the following containers on my page:
    DIV A:  Contains the content of the page; this div has overflow set to scroll.
    DIV B: Contains the links
    DIV A contains 3 different server side includes, each with a different ID. Using the Show/Hide Element, I have set it so that when a link in Div B is clicked, the appropriate server side include is displayed in DIV A, and the other two server side includes are set to hide.
    The only problem is that when their appropriate links are clicked, SSI 2 and SSI 3 do not appear at the top of DIV A, but at the position they would be if all SSIs were set to show, so the user has to scroll to see SSI and SS 2.
    Do you folks know of any way to have the SSI display at the top of DIV A?
    It occurred to me that instead of using Show/Hide behavior, I may need to somehow include an SSI only when a DIV B link is clicked, and when a different DIV B link is clicked, that SSI is stripped form the page and the appropriate SSI is included.Is that even possible?
    Does this make sense to all of you?
    Thanks,
    Mike

    Without seeing your code, it could be how you are positioning these elements on your page.  If you plan on showing/hiding layers you will need to position these layers to show in the same spot every time by setting the position of DIV A to relative and the position of the 3 layers inside to absolute with a top and left value set to 0.

  • Displaying server-side include in DW8

    Sorry if this has been asked before? I did search and
    couldn't find it (this site is painfully slow and searching is
    worse)
    I am trying to figure out how to make DW8 show my server-side
    include files in the design view. My site uses SSI for all headers
    and footers, so every page has at least 2 SSI's. They show up as
    the SSI mark on the page, but not the code or graphical
    representation of what is in the SSI. I need to have that code
    snipet show up in my design view. The only way I have been able to
    figure out how to do it, is to reinsert the SSI again from the
    menu, and then delete it. Doing it that way, the original ssi that
    is listed on the page will display graphicly in the design view.
    I do have the option in the preferences - Invisible Elements
    - Server-Side includes: and the check box is checked / enabled.
    If I could, while I'm here, one other question. I have DW
    code rewriting turned on, and it shows me each time I open a file,
    what corrections it has made. But if I save the file, and then open
    it again, it shows me the exact same corrections being done again.
    Is there a trick to make DW8 save the corrections it automatically
    makes to the files?
    many thanks in advance.

    > I know that there were major changes between 4 and 8.
    One of which was tightening the tolerance for bad code. CS3
    is very strict
    about displaying proper code.
    However, your fragments below look OK.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "mmdlcab" <[email protected]> wrote in
    message
    news:[email protected]...
    >
    quote:
    Originally posted by:
    bregent
    > Do any of your included files include html, head or body
    tags? If so,
    > that's
    > the problem. Having those creates invalid html which DW
    will not
    > render.
    >
    > Thats a great thought, but I just checked, and no, none
    of those tags are
    > in
    > the files. I'll see if I can attach the code for the 2
    files and see if
    > that
    > helps any. The header file does have my menu system
    pasted into the text
    > of
    > the include file, but that has not caused problems
    previously. FWIW, this
    > worked fine in DW4 which is what I upgraded from. In
    version 4, the
    > headers
    > and footers showed up fine in desgin view. I know that
    there were major
    > changes between 4 and 8.
    >
    > Header include file:
    > ----------------------------
    > <table border="0" align="center" width="750"
    height="110">
    > <tr>
    > <td><a href="/index2.html"><img
    src="/images/color_logo.gif"
    > width="110"
    > height="107" alt="MMDL Logo" border="0"
    /></a></td>
    > <td align="center" valign="middle"><a
    href="/index2.html"><img
    > src="/images/header4.gif" width="450" height="110"
    border="0" alt="MMDL -
    > The
    > worlds largest steel tip dart league"
    /></a></td>
    > <td align="center" valign="middle"><a
    href="testpage.html"></a><a
    > href="
    http://www.dmisports.com/darts_main.html"><img
    > src="/images/dmilogo_small.gif" alt="DMI Sports"
    width="110" height="77"
    > border="0" longdesc="
    http://www.dmisports.com"
    /><br />
    > <!-- <a href="
    http://www.mmdl.org/dmi_flyer.pdf"
    > target="_blank">League Board
    </a></td>-->
    > </a><a href="
    http://www.mmdl.org/dmi_flyer.pdf">League
    Board </a></td>
    > </tr>
    > </table>
    > <!-- DHTML Menu Builder Loader Code START
    --><script language="JavaScript"
    > type="text/javascript">
    > var navVer = navigator.appVersion;
    > if(navVer.substr(0,3) >= 4)
    > if((navigator.appName=="Netscape") &&
    (parseInt(navigator.appVersion)==4))
    > {
    > document.write('<' + 'script language="JavaScript"
    type="text/javascript"
    > src="
    http://www.mmdl.org/dmbmenu/nsmenu.js"><\/script\>');
    > } else {
    > document.write('<' + 'script language="JavaScript"
    type="text/javascript"
    > src="
    http://www.mmdl.org/dmbmenu/iemenu.js"><\/script\>');
    > }</script>
    > <!-- DHTML Menu Builder Loader Code END
    --><table border="0" width="550"
    > height="110">
    > -------------------------------------
    > footer include file
    > --------------------
    > <table border="0" align="center">
    > <tr>
    > <td width="20" valign="top"
    align="center"> </td>
    > <td align="center" valign="middle" width="194">
    > <div align="left"><a
    href="mailto:[email protected]?subject=MMDL
    > Darts.*..
    > ">Comments? Email us</a></div>
    > </td>
    > <td align="center" valign="middle"
    width="128"><a
    > href="
    http://www.mmdl.org/dmbmenu/textmenu.html">Text
    > based menu</a></td>
    > <td align="center" valign="middle"
    width="223">&copy; <SUP>SM</SUP>
    > 2007
    > Minute Man Dart League. All rights reserved.</td>
    > </tr>
    > </table>
    > -----------------------
    >
    >
    >
    >

  • Server-Side Include or what?

    One of my sites:
    http://www.plough.com  has become more active, I need to do a redesign. One thing I have to change: the "Recent Articles" list has up to now been a library item. This worked fine as long as the site was small. But now checking out & checking in the whole site every time I list a new article is too much.
    So what is the best method to include a list like this? I've looked into Server Side Includes - the server is SSI, so there are a lot of restrictions (the include can't be in a folder higher in the structure than the page it is on?
    Seems like too much fuss. Is there any other way I could do this? All ideas welcome - I need to get some creative thought going.
    Thanks

    Another possible way is to use a spry dataset. (xml or html based) see -
    http://labs.adobe.com/technologies/spry/home.html
    PZ

  • Server side include problem in DW design mode

    I am having issues with one computer out of three...Using DW
    8 on Mac OS 10.4 Intel....
    I have a server-side include set up to contain my navigation
    (nav.shtml) inside of a DW template, and normally, the editable
    regions can be worked in and the SSI area comes up blank until the
    file is uploaded to the server (which is OK...).
    On the third computer, however, the SSI area is actually
    visible in DW, but the Editable Region containing the main content
    area doesn't even show up, therefore we cannot work on web pages on
    that computer. I know this must be a setting having to do with
    using DW and a Mac as a web server, but I cannot find it! Anyone
    have any clues?
    Thanks so much!

    Can you describe teh details of the problem, please?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Phil Cornish" <[email protected]> wrote in
    message
    news:g8eosb$ijq$[email protected]..
    >I have this same problem on a Win XP
    machine...HELP!!!!!!!!!!

  • Spry Widget as a Server Side Include

    I am new to using SSI. I guess one question is: does the
    include have to be saved as a .shtm or .shtml file? I am trying to
    take a Spry Navigation bar and use it as an include in a site I am
    building. I have saved it as a .html file and a .shtml file, but
    neither is working. It shows up in design view, but not preview in
    browser view. Here is the code of the SSI:
    <script src="../SpryAssets/SpryMenuBar.js"
    type="text/javascript"></script>
    <link href="../SpryAssets/SpryMenuBarVertical.css"
    rel="stylesheet" type="text/css" />
    <div>
    <ul id="MenuBar1" class="MenuBarHorizontal">
    <li><a href="
    http://www.j-boysentertainment.com">Home</a>
    </li>
    <li><a href="#"
    class="MenuBarItemSubmenu">Projects</a>
    <ul>
    <li><a href="../pamperzpro.html">Pamperz
    Pro</a></li>
    </ul>
    </li>
    <li><a class="MenuBarItemSubmenu"
    href="#">Creative Team</a>
    <ul>
    <li><a href="#">Jeff Reed</a> </li>
    <li><a href="#">John
    Elliott</a></li>
    <li><a href="#">Jack Kelly</a></li>
    <li><a href="#">J. Skylar
    Testa</a></li>
    <li><a href="#">Jonathan
    Perkins</a></li>
    </ul>
    </li>
    <li><a href="#">Connect</a></li>
    </ul>
    </div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1",
    {imgDown:"SpryAssets/SpryMenuBarDownHover.gif",
    imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    Does anyone see what I am doing wrong? Also, when I insert it
    as a SSI, does it matter if it is a file or a virtual?

    Create a page that contains ONLY this -
    <p>woohoo</p>
    and save it as woohoo.monkeybutt.
    Then create another page, click in the Design view, and
    insert a server-side
    include. Browse to and select woohoo.monkeybutt.
    Save this new page as "page.shtml".
    Preview it in the browser (with temp files enabled in your
    PREFERENCES).
    'nuff said?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "jp3rks" <[email protected]> wrote in
    message
    news:[email protected]...
    >I am new to using SSI. I guess one question is: does the
    include have to be
    > saved as a .shtm or .shtml file? I am trying to take a
    Spry Navigation
    > bar and
    > use it as an include in a site I am building. I have
    saved it as a .html
    > file
    > and a .shtml file, but neither is working. It shows up
    in design view,
    > but not
    > preview in browser view. Here is the code of the SSI:
    >
    >
    > <script src="../SpryAssets/SpryMenuBar.js"
    > type="text/javascript"></script>
    > <link href="../SpryAssets/SpryMenuBarVertical.css"
    rel="stylesheet"
    > type="text/css" />
    > <div>
    > <ul id="MenuBar1" class="MenuBarHorizontal">
    >
    <a href="
    http://www.j-boysentertainment.com">Home</a>
    </li>
    >
    <a href="#" class="MenuBarItemSubmenu">Projects</a>
    >
    >
    <a href="../pamperzpro.html">Pamperz
    Pro</a></li>
    >
    > </li>
    >
    <a class="MenuBarItemSubmenu" href="#">Creative
    Team</a>
    >
    >
    <a href="#">Jeff Reed</a> </li>
    >
    <a href="#">John Elliott</a></li>
    >
    <a href="#">Jack Kelly</a></li>
    >
    <a href="#">J. Skylar Testa</a></li>
    >
    <a href="#">Jonathan Perkins</a></li>
    >
    > </li>
    >
    <a href="#">Connect</a></li>
    >
    > </div>
    > <script type="text/javascript">
    > <!--
    > var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1",
    > {imgDown:"SpryAssets/SpryMenuBarDownHover.gif",
    > imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    > //-->
    > </script>
    >
    > Does anyone see what I am doing wrong? Also, when I
    insert it as a SSI,
    > does
    > it matter if it is a file or a virtual?
    >

  • Enable Server Side Includes in Appp server 8?

    Hello
    Java App Server 8
    I posted again in case my original post wasnt clear. Im trying to find in the admin guide where I can find instructions on how to enable Server Side Includes in my application ie. how to allow .shtml documents.
    Any suggestions appreciated.
    Jon

    Hi !
    I have installed Sun App server 8 update 1 on a Windows server 2003.
    Is it possible to run the application server as a NT service ?
    If so how can I accomplish this ?
    /Regards Krister

  • Cannot Preview Server Side Includes in Browser

    I am working on building a new site using server side
    includes for the main header graphic and menu items. For testing
    purposes, I created an .html file with one <div> tag
    containing a single graphic and an .shtml file with the server side
    include code placed in the <head> area. (Doesn't seem to work
    if I place it anywhere within the <body> tag... not sure
    why). At any rate, I can see the SSI in the design view of my
    document, but cannot see it whenever I go to preview the page in my
    browser (Firefox 2.0.0.3). Everything works fine if I upload the
    files to my Web server and view them that way, but why can't I see
    the SSI when working on my local files? The Dreamweaver help files
    explain that I should be able to do so, but it's just not working.
    Well, I'm now at a loss and cannot figure out if I'm doing
    something wrong of if this is just a bug of some kind. Can anyone
    help me to solve this problem so that I can get back on track?
    Much appreciated,
    ~Greg

    >I am working on building a new site using server side
    includes for the main
    > header graphic and menu items. For testing purposes, I
    created an .html
    > file
    > with one <div> tag containing a single graphic and
    an .shtml file with the
    > server side include code placed in the <head>
    area.
    This is not going to work at all. You cannot place body HTML
    in the <head>
    region.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Myrrhlin225" <[email protected]> wrote in
    message
    news:f1hdmh$clh$[email protected]..
    >I am working on building a new site using server side
    includes for the main
    > header graphic and menu items. For testing purposes, I
    created an .html
    > file
    > with one <div> tag containing a single graphic and
    an .shtml file with the
    > server side include code placed in the <head>
    area. (Doesn't seem to work
    > if I
    > place it anywhere within the <body> tag... not
    sure why). At any rate, I
    > can
    > see the SSI in the design view of my document, but
    cannot see it whenever
    > I go
    > to preview the page in my browser (Firefox 2.0.0.3).
    Everything works
    > fine if
    > I upload the files to my Web server and view them that
    way, but why can't
    > I
    > see the SSI when working on my local files? The
    Dreamweaver help files
    > explain
    > that I should be able to do so, but it's just not
    working. Well, I'm now
    > at a
    > loss and cannot figure out if I'm doing something wrong
    of if this is just
    > a
    > bug of some kind. Can anyone help me to solve this
    problem so that I can
    > get
    > back on track?
    >
    > Much appreciated,
    > ~Greg
    >
    >

Maybe you are looking for

  • SELECT INTO SELECT CAN IT ACCEPT MORE THAN ONE LINE ?

    Hi i have a table that i have to fill with information from an old one, but there are two colomns that i have to fill with another table. So here is the select that i will use with the insert part. select id_migration_mig, (select a.id_instance_ins f

  • Clamshell Mode Not Working

    Although I follow the instructions for Bluetooth mouse and keyboard at... http://docs.info.apple.com/article.html?artnum=300562 ...I cannot get my LCD monitor to come on when the MBP is closed. What am I doing wrong???

  • Archived log file are not shifted to standby side and applied

    Hi Guru's, DB My OS Version:Windows Server 2003 DB Version:11.2.0.1.0 I am trying to create Physical Standby DB on my test machine after setting all the parameters and start standby db in mount mode when i do the verification of archived log files th

  • Option for selecting the GL indicator as optional

    Hi   Am using  '0FIAR_C03' here the there is the field Special GL. I need to keep an option while executing the report/query for selecting either with or with out the special GL, if special GL is selected i need to fetch the records where special GL

  • SOAP------ PROXY--ASYNCHRONUS communication

    iam working on SOAP-> Proxy (asynchronus) scenario, my requirement is send change master data from client system to SAP via PI, once the data is updated in SAP, need to sendback the status/eror messages , here the iam using the same XML structure for