Server Side Includes Don't Show Up?
I support a web site and I've been maintaining it with DW (previous to CS3 and now I'm using CS3) and except for the home page, whenever I test a page locally on my PC, the content of the includes don't show up in the browser. Once I upload them to the web site, they work fine. I should point out that the home page is the only page in the root directory. All the other pages are in a next level folder. At the time I designed the web site, I thought this would help me organize things, but I regret doing it. This has happened with the previous version and with CS3.
Anyway, it's what I'm stuck with. I've set up my local site without server access. Given my situation, is there anyway to get the includes to work on my PC when I test the pages within DW?
To summarize: I press F12 to start a browsing session and that page is displayed properly with server side includes. While in that browsing session, I click on a link to another page, and that second page in the browsing session does not disply the server side includes. When these pages are uploaded to the server, they work properly
If you open one of the inner pages, and hit F12 can you see the includes on that page,, or on any of the other inner pages when you browse to them individually? I bet you can :-)
It's only when you try and go from the temp file to a properly name file that it doesn't work. There was a technote explaining this much better than Ican, but I just can't find it now.
If you want to see the pages work as if they were on the server, that is going from page to page by clicking on individual links, you really need to set up a testing server on your machine.
http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WSc78c5058ca073340dcda9110b1f693f21-7b6 ba.html
http://kb2.adobe.com/cps/191/tn_19165.html
Similar Messages
-
Server-side includes not showing in new DW CS5.5. Any suggestions?
I have used DW for years and years and have never had any problems. I just installed CS5.5 and am not seeing my php includes in the design pane. I've searched the forums but have not found a working answer.
I'm editing files I've edited in CS5 and earlier with no problem.
I've checked the server-side includes box in the configuration but no change occurs.
Does anyone have any suggestions?What testing server setup do you have? Are you using something like WAMP?
What do you see on screen which tells you the SSIs are not rendering? Any error message? -
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 .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 -
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">© <SUP>SM</SUP>
> 2007
> Minute Man Dart League. All rights reserved.</td>
> </tr>
> </table>
> -----------------------
>
>
>
> -
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?
> -
Server-Side Include Issue - Please Help
I am having trouble using server-side includes in
Dreamweaver. When I use the SSI to insert the header file, the
header document shows up on the page in design view, but I cannot
click anything. The cursor turns into a "no sign" no matter where
it is on the page. I cannot see anything but the header document,
and I cannot click outside of it or anywhere else in design view.
When I test the whole document in a web browser it actually seems
to work just fine. I see the header and the other text on the page
(unlike in dreamweaver, I cannot see anything but the header). Also
in Dreamweaver code view, the php tags and the included filename
are in red. This is the code for the test document:On Wed, 7 Mar 2007 04:02:29 +0000 (UTC), "AngryCloud"
<[email protected]> wrote:
> <?php include("header.php"); ?>
What does the code look like in header.php? Does it have
<html>, <head>
and <body> tags? It should not.
Gary -
Problem in Server side includes using Tomcat
Problem in Server side includes using Tomcat:
I am trying out small programs in servlet.
I get one example program for server side includes from net.
The code is:
<HTML>
<HEAD><TITLE>Times!</TITLE></HEAD>
<BODY>
<P>
The current time in London is!!! :
<SERVLET CODE="CurrentTime" codebase="../servlet">
<PARAM NAME="zone" VALUE="GMT">
</SERVLET>
</P>
</BODY>
</HTML>
I placed this test.shtml file in tomcat-home/webapps/ROOT folder and i kept the servlet in WEB-INF/classes folder.
I renamed the servlets-ssi.jar and i removed the comments for SSI in web.xml file.
When i run the servlet separately, i am getting the correct result. But if i run shtml file with the URL : http://localhost:8080/Test.shtml,
i am getting the result as:
The current time in London is!!! :
It is not invoking servlet program.
CAN ANYONE HELP ON THIS!
Thanks.Thanks...as u said I tried putting dir & found that
my file was saved as Ch1Servlet.java.txt instead for
Ch1Servlet.java......So that was a problem.Now I'm
able to compile.Oh, yeah. Notepad will do that to you. I think when you save in Notepad if you put quotes around the name "Whatever.java" then it won't add the .txt.
But on compiling I'm getting the following error
package java.servlet.* does not exist
package java.servlet.http.* does not exist
package java.io.* does not exist
Do u the reason for this??? The servlet stuff is java[b]x.servlet. For the io stuff, I don't know, I'd have to see your code. Either you have a typo or a corrupt installation. -
Server Side Includes not displaying in DW CS3 design view
I have this code in my page (see below):
When I open the file in Dreamweaver MX 2004 in design view,
the page displays correctly. That is, I see the correct styles from
the style sheet contained in Head_Standard.html and the logo/menu
in Logo_TopMenu.html
When I open the page in DW CS3, I do not see the effects of
the style sheet and I do not see the logo/menu.
However, when I change the code for the first include from:
virtual="/ServerSide
to
virtual="
../../ServerSide
then the page renders correctly in Dreamweaver CS3.
My first reaction was: what?! And my question is: how do I
use a root reference inside the head and get it to display properly
in DW CS 3?"Go to Edit > Preferences > Invisible Elements >
Server-Side Includes (Check this box) to show contents of included
file"
I already do this.
For me:
/ServerSide... does NOT work
../../ServerSide... works
So, a relative reference works and a reference to the root
does not. I have over 20 websites with root references and I need
this to work in DW9. -
I would like to create a website that allows the business owner to post information by simply updating a Word or Excel document and uploading it to the server. I'm using a Server Side Include to bring in the .doc and .xls files. It kind of works... I can see the data from these files, but the formatting is crazy and includes a bunch of extra characters. I've set the extension as .shtml and selected "virtual" for the Apache server.
I've searched the forums for an answer, but it doesn't look as this has been addressed. Thanks in advance for you time!Ah, very good point. I've actually tried that with some sample text and it shows up fine in my browser, but I had assumed that creating a page in Word or Excel wouldn't allow for the same level of functionality and aesthetic that I've created with the original page in Dreamweaver. I will go ahead and play with Word to see what can be achieved. Thanks and sorry for the newbie question!
-
Server Side Includes for Apache and parsing text files
I have an old website I used to do zipped up and I decided to set it up on my personal webserver in OS X . I got apache configured to allow server side includes (edited the httpd.conf to all them:
<Directory />
Options FollowSymLinks Indexes MultiViews Includes
AllowOverride None
</Directory>
But I can't get the pages to come up. See I have this .shtml page which loads fine and a part of it has this line:
<!--#include file="news/news.txt" -->
But it won't parse that txt file and show the html that its formatted in.
Anyone have any ideas on how to get it to parse that txt file? Even if I load just that txt file it shows raw code not it formatted. Please help.Ignore that first reply. I thought I was dealing with server.
As usual, I fogot to make sure that Includes was in the Options directive for the DOCUMENT_ROOT or VirtualHost. After 10 years, you'd think I'd remember that. I just configged one of my macs to do SSI. Here's the 3 lines that I changed:
Line 399 (the DOCUMENT_ROOT definition): Options Indexes FollowSymLinks MultiViews Includes
Line 887 (To use server parsed HTML): AddType text/html .shtml
Line 888: AddHandler server-parsed .shtml
apachectl restart
and off it went!
Roger -
"Server-side includes" equivalent in DW CC
I am a long-time HTML coder, having been hand-writing HTML since the days of Mosaic. However, I am a complete newbie with DreamWeaver CC. I have gone through the entire "Bayside Beat" tutorial.
I am used to using "server-side includes" to include common sections of code on all of my pages. For example, I include this at the top of every body:
<!--#include virtual="/inc/banner.inc" --><!--#include virtual="/inc/mainmenu.inc" --><!--#include virtual="/inc/sidebar.inc" -->
and this at the end:
<!--#include virtual="/inc/footer.inc" -->
Following along with the "Bayside Beat" tutorial, I see how to copy those sections from one page to another. However, what happens if I need to make a change in one of those sections?
For example, if I were to add a 6th page, I would need to edit the menu, and then manually propogate that change to every page. Or, next year, when I want to change the copyright to "2014", I again need to manually edit every page.
Is there any way to say "this section is to be identical on every page that includes it, and automatically propogate any changes to all of those pages"?I can't remember when Adobe loused this up. Probably in DW CS6.
My workaround is to create my own SSI code in my Custom Snippets folder. I have one for .shtml/.asp pages and another for .php pages. One click inserts the code.
<!--#include virtual="includes/my-include-file.html" -->
<?php require_once('includes/my-include-file.php'); ?>
Once inserted, click on the include statement in code view and you'll see a small properties box where you can browse to the actual file or Edit the include file. It takes a lot longer to explain than it does to do it. Bottom line, it's quick and you don't need any 3rd party extensions.
Nancy O. -
Server-Side Includes in weblogic server 5.1
Hi,
I tried Server-Side Includes examples in weblogic server 5.1 thru .shtml file.
I am able to load the .shtml file but its not loading the included servlet. But
I am able to load the included servlet alone separately.
Somebody can be assist me what I have to do?
I am using WebApplication WAR structure for my application.
ex: http://localhost:7001/esp/hellooWorld -- loading the servlet
http://localhost:7001/esp/html/ServletInclude.shtml -- not loading servlet
where 'esp' name of the WebApplication
The .shtml file code is given below
<html>
<body>
<servlet name=hellooWorld>
</servlet>
</body>
</html>
Looking forward for some help
Thanks
Your WebLogic doesn't know it's supposed to be doing server-side includes. Make
sure you have .shtml registered/enabled - see the docs.
Mike
"Jyothi" <[email protected]> wrote:
>
>Hi Mike,
>Thanks for your reply.
>>What errors (if any) do you see in the log file?
>Just coming up with blank screen. No errors reported in log file. Nothing
>coming
>in log file regarding the servlet.
>>
>>When you display the page in a browser, what does View -> Source show?
>Just getting blank screen. If I see view source same source code coming
>up. Here
>is the view source when I view it from browser
>**********************************************
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
><html>
><head>
><title>Including a servlet with SSI</title>
></head>
>
><body
> bgcolor="#FFFFFF"
> link=#DB1260
> vlink=#828282>
>
><font face="Helvetica">
>
>
><p>
><servlet name=hellooWorld>
></servlet>
>
></font>
></body>
></html>
>*********************************************************
>>Did you register the servlet?
>Yes. I registered the servlet. Thats why if I load the servlet alone
>I am getting
>the output.
>http://localhost:7001/esp/hellooWorld -> url used to load servlet alone
>>
>I hope this info helps to you to analyze my problem
>
>Thanks
>Jyothi
>>
>>"Jyothi" <[email protected]> wrote:
>>>
>>>Hi,
>>>I tried Server-Side Includes examples in weblogic server 5.1 thru .shtml
>>>file.
>>>I am able to load the .shtml file but its not loading the included
>servlet.
>>>But
>>>I am able to load the included servlet alone separately.
>>>Somebody can be assist me what I have to do?
>>>I am using WebApplication WAR structure for my application.
>>>ex: http://localhost:7001/esp/hellooWorld -- loading the servlet
>>>http://localhost:7001/esp/html/ServletInclude.shtml -- not loading
>servlet
>>>
>>>where 'esp' name of the WebApplication
>>>
>>>The .shtml file code is given below
>>>-----------------------------------
>>><html>
>>><body>
>>><servlet name=hellooWorld>
>>></servlet>
>>></body>
>>></html>
>>>--------------------------------------------------
>>>
>>>Looking forward for some help
>>>
>>>Thanks
>>>
>>>
>>>
>>>
>>>
>>
>
-
have used all previous versions of dw. no prior problem with server-side includes. now, they are not showing up in design view. Yes, I have marked preferences to include hidden items/server side includes. any thoughts anyone?
I set up a static test site. It has no testing server defined - just a local site. In that site I have two files -
1. include-test.html
2. /_inc/test.html
Their contents are -
INCLUDE-TEST.SHTML
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
</head>
<body>
<p>This is a test of SSI. The following paragraph is an HTML include -</p>
<!--#include file="_inc/test.html" -->
</body>
</html>
TEST.HTML
<p>Ut aliquip ex ea commodo consequat. Duis aute irure dolor eu fugiat nulla pariatur. Sunt in culpa ullamco laboris nisi quis nostrud exercitation.</p>
When I look at Design view for include-test.html, I can see the contents of the include file, and I can see it listed as a related file below the filename tabs:
So, I'm at a loss....
Maybe you are looking for
-
Data is not coming correctly through delta from DSO to Cube
HI All, When there is change in Org. Unit, Job or any characteristic of employee then the the delta of data source picks that change records. I have used DSO before Cube. Now in DSO active table have one record against the Employee and same Schedule
-
Shopping cart header status differs to status at line item level
Hello I am using SRM 5.5 EC, got a situation where there is a single line shopping cart which has been approved. The status on the header is still showing "awaiting approval" but at line item level it shows as being "approved" and no follow on docume
-
RFE.. request for enhancement Unified Storage (ak)
Hi, Maybe I've missed something, but is it any plans for possibility to enable krb5 as share options on a NFS-share? I would like to be able to do what I do on a "plain" opensolaris fileserver: 1) uncomment krb5 lines in /etc/nfssec.conf 2) #zfs set
-
API Files for Visual Basic Program?
-
Installing Application Server in RHAS 2.1
Hi Guru's I want to do install Application Server on RHAS 2.1 to RHAS 2.1 what are the pre requisites are required can u tell me please. including patches.