Adding "include virtual" jumbles page

I have designed a page (www.komenwv.org) and when I added a
include virtual under the header (In The News) for my news program
and then I look at the page in "show design view" and everything is
jumbled. The background turns gray, my table are gone and my images
are all over the page....but the page looks fine through a browser.
When I remove that simple include virtual code, the page goes
back to normal in the "show design view".
What causes this and what can I do to make it look correct in
the "show design view" mode?
Thanks in advance.

On Sat, 4 Aug 2007 02:47:17 +0000 (UTC), "MCInteractive"
<[email protected]> wrote:
> When I remove that simple include virtual code, the page
goes back to normal
>in the "show design view".
The included file is a complete html page, including
<html>, <head>, and
<body> tags. That means you wind up with duplicates of
those tags in the
assembled page. An include file should be only the snippet of
code that
goes where the include is done.
On a side note, you have built these pages as ASP/JavaScript,
but saved
them with a .html extension. In browsers other than IE, you
get this at
the top of the pages:
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
Gary

Similar Messages

  • Help with adding audio files to page

    I am using DW CS5.  I have had numerous troubles adding audio files to any page.  Please know that I am not at all computer savy when it comes to html codes etc.  But I have been working with DW CS5 and have a functional website and my pages validate.  That being said, please be patient with me if I am asking stupid questions or don't understand the solution.
    Now to the problem....I originally wanted to add mp3 files...but I am not sure how to work with plugins or which plugin to use.
    Therefore, I converted my mp3 files to swf and used the insert media file feature in DW CS5.  But when I look at the finished page...I only see a big white box.  Nothing happens when you click on it. 
    First question...which is the best method to add audio files?
    Second question...what steps do I need to follow achieve the desired result?
    Note:  there is one validation error on this page and I'm not sure why or how to fix it.  Any suggestions here would be greatly appreciated.
    Here is the code for the page (or you can go to this link:  http://02cada7.netsolhost.com//test2/cupotea.shtml):
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>cupotea</title>
    <style type="text/css">
        body {
            margin: 0;
            width: 100%;
            background-color: #000; /* change this to whatever the background color should be for the sides (and the bottom) */
        #wrapper {
            min-width: 960px; /* this is how wide the actual content area will be (the centered part) */
            max-width:    1260px;
            margin-left: auto;
            margin-right: auto;
            padding: 0 0 5 5; /* keep the first two values at 0, the others are for left and right space from the edge of the background */
            background-color: #000; /* this is the background color of the main content area */
            color: #FFF; /* this is the default font color */
        #top {
            height: 75px;
            font-size: 60px;
            font-style: italic;
            font-weight: bold;
            color: #FFFDE6;
            background-color:#750700;
            text-align: center;
        #left {
            width: 120px; /* this is the width of the side area. this will take some of the width of the wrapper, above */
            float: left;
            padding-top:10px;
        #main {
            min-width: 840px; /* this is the width of the main content area. This, plus the width of the side, should equal the width of the wrapper */
            max-width: 1340px;
        float:left;
        background-color:#000;
        color: #000;
    #body {
        width:853px;
        float:left;
        color: #fffde6;
        padding-right: 10px;
        padding-left: 10px;
    #bodyleft {
        width:425px;
        float:left;
        padding-top:70px;
    #bodyleft2 {
        width:425px;
        float:left;
        padding-top:70px;
    #bodyright {
        width:425px;
        float:left;
        padding-top:70px;
    #bodymiddle {
        width:853px;
        float:left;
        color: #fffde6;
        padding-right: 10px;
        padding-left: 10px;
    a img {border:none; }
    .standardparagraph {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12pt;
        color: #fffde6;
        text-align: justify;
        font-weight: normal;
    .standardparagraph2{
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12pt;
        color: #fffde6;
        text-align: justify;
        font-weight: normal;
        border-top:thin;
        border-color:#666;
        border-bottom-style:solid;
    .standardparagraph3{
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12pt;
        color: #fffde6;
        text-align:    center;
        font-weight: normal;
    .standardparagraph4{
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12pt;
        color: #fffde6;
        text-align: center;
        font-weight: normal;
        border-top:thin;
        border-color:#666;
        border-bottom-style:solid;
    .pagetitle {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 16pt;
        font-weight: bold;
        color: #fffde6;
        text-align: center;
    </style>
    //<![CDATA[
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //]]>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryTooltip.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarVertical-2.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryTooltip.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="lightbox/js/prototype.js"></script>
    <script type="text/javascript" src="lightbox/js/scriptaculous.js?load=effects"></script>
    <script type="text/javascript" src="lightbox/js/lightbox.js"></script>
    <link rel="stylesheet" href="lightbox/css/lightbox.css" type="text/css" media="screen" />
    <style type="text/css">
    a:link {
        color: #06F;
    a:visited {
        color: #06F;
    a:hover {
        color: #06F;
    a:active {
        color: #06F;
    </style>
    </head>
    <body onload="MM_preloadImages(''images/buttons/miscfamily2.jpg','images/buttons/home2.jpg','im ages/buttons/familytrees2.jpg','images/buttons/legacy2.jpg','images/buttons/polska2.jpg',' images/buttons/dziekuje2.jpg','images/buttons/calendar2.jpg','images/buttons/dziekuje2.jpg ','images/buttons/StasikEarly1800sto1870-2.jpg','images/buttons/JanikMid1800sto1866-2.jpg' ,'images/buttons/Stasik1857toPresent-2.jpg','images/buttons/1st-generation-2.jpg','images/ buttons/2nd-generation-2.jpg','images/buttons/3rd-generation-2.jpg','images/buttons/4th-ge neration-2.jpg','images/buttons/5th-generation-2.jpg','images/buttons/6th-generation-2.jpg ','images/buttons/7th-generation-2.jpg','images/buttons/january-2.jpg','images/buttons/feb ruary-2.jpg','images/buttons/march-2.jpg''images/buttons/april-2.jpg','images/buttons/may- 2.jpg','images/buttons/june-2.jpg','images/buttons/july-2.jpg','images/buttons/august-2.jp g','images/buttons/september-2.jpg','images/buttons/october-2.jpg','images/buttons/novembe r-2.jpg','images/buttons/december-2.jpg')">
    <div id="wrapper">
      <div id="top">
        <div align="center">THE STASIK FAMILY</div>
      </div>
      <div id="left">
    <!--#include virtual="includes/menu.html" -->
      </div>
      <div id="main">
       <div align="center">
        <br />
        <span class="pagetitle">CUP O' TEA</span><br />
        </div>
        <div id="body">
            <p class="standardparagraph2">When preserving family history, nothing can compare to sitting down with a Grandparent or Great Aunt or Uncle over a cup of tea; listening to them reminicse about the past.  Unlike handwritten accounts, there is opportunity to ask questions or delve further into the subject.  Even better, recording such conversations so they can be shared for generations to come.<br />
    <br />
    The following audio files were created by Virginia (Stasik) Zarow at the request of Laura (Stasik) Schmidt and Carrie (Stasik) Kot.  There were a total of five cassette tapes, ranging from 1 hour to a 1 1/2 halfs in length.  Scott Freeson converted each tape to digital format and then they were broken down into various segments for a total of 7 audio files.  It is recommended that you listen to each tape in the order presented to maintain the proper timeline and context.<br /><br /></p>
    <p class="standardparagraph">The first five audio files were recorded by Aunt Virginia in response to questions posed by Laura (Stasik) Schmidt and her sister Carrie (Stasik) Kot.  Aunt Virginia re-recorded her responses in August 2009 after noticing some mistakes in the original recording.<br />
    <br />
    Note:  Virginia refers to her father as "tata", which is the Polish word for dad.</p>
    <div id="bodyleft">
    <span class="standardparagraph">What are the recollections you have about your parents, in particular their interests, their hobbies, and their lives and faith?<br />
    What did your dad do around the house?<br />
    How did your mom relax?<br /><br /></span>
    <span class="standardparagraph">How did you celebrate holidays and birthdays? <br />
    Did you go on vacations?<br />
    What did you and your brothers do for fun?<br /><br /></span>
    <span class="standardparagraph">What do you know about Jacob Sikora and Catherine Dziwak, the extended family and their faith?<br />
      - Jacob Sikora and Catherine (Dziwak) Sikora<br />
      - Michael (aka Patsy)<br />
      - Magdeline (aka Chochi)<br />
      - Angeline (aka Nellie) - includes information about Frank &amp; their children<br />
      - Elizabeth (aka Diane)<br />
      - John<br />
      - Peter<br />
      - Walter<br /><br /></span>
    <span class="standardparagraph">  What was the house like?<br />
      - In the beginning<br />
      - The 1936 flood<br />
      - Renovations<br />
      - The final demise<br /><br /></span>
    <span class="standardparagraph2">Miscellaneous tidbits...<br />
      - Polish Proverbs<br />
      - Ancedotes<br /><br /></span>  </div>
    <div id="bodyright">
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="50" height="25" id="FlashID" title="virginia1of5">
      <param name="movie" value="audiofiles/virginia1of5.swf" />
      <param name="quality" value="high" />
      <param name="wmode" value="opaque" />
      <param name="swfversion" value="15.0.0.0" />
      <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
      <param name="expressinstall" value="Scripts/expressInstall.swf" />
      <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="audiofiles/virginia1of5.swf" width="50" height="250">
        <!--<![endif]-->
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="15.0.0.0" />
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
        <div>
          <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
          <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
        </div>
        <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>
    <span class="standardparagraph3">for the media file<br /><br /><br /><br /></span>
    <span class="standardparagraph3">for the media file<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /></span> 
    <span class="standardparagraph3">for the media file<br /><br /><br /><br /><br /><br /></span>
    <span class="standardparagraph4">for the media file<br /><br /><br /><br /></span>
        </div>
        <div id="bodymiddle"><span class="standardparagraph">The second tape, also recorded in August 2009, consists of 2 clips and covers the years 1944 through 1947.</span></div>
    <div id="bodyleft2">
    <span class="standardparagraph">Summer of 1944 to December of 1945<br />
      - Meeting of Frank Zarow<br />
      - New Years Eve - 1944<br />
      - Prom Night - May 1945<br />
      - First boyfriend, Eddie Yesh<br />
      - First job as a hygienist<br />
      - Meeting of John Zarow<br />
      - Enrolled at Indiana State Teachers College<br />
      - Meeting of Ted Zaroff<br />
      - Thanksgiving - 1945<br />
      - Florian Stasik Airforce injury<br />
      - Christmas - 1945<br />
      - New Years Eve - 1945</span>
    <span class="standardparagraph">Note:  Per Virginia, Ted's name should be spelled Zarow, like most of his brothers.  There was a mixup with his birth certificate and his last name was mispelled (although it is phonetically correct).  He chose to keep this spelling as did one of his brothers.<br /><br /></span>
    <span class="standardparagraph">January 1946 to December 1947<br />
      - Takes job as cook/housekeeper<br />
      - Break-up with Eddie Yesh<br />
      - Frank Zarow passes away<br />
      - Christmas 1946<br />
      - Meets John Zarow again<br />
      - New Years Eve 1946<br />
      - John courts Virginia<br />
      - First date with John<br />
      - John's father passes away<br />
      - Christmas 1947</span>
    <span class="standardparagraph">Virginia mentions visiting cousin Helena in Poland.  She is referring to <a href="4-0-helenastasikguzik.shtml">Helena (Stasik) Guzik </a>and her trip to Poland in 1990.  </span></div>
    <div id="bodyright2">
    <span class="standardparagraph3">for the media file<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /></span>
    <span class="standardparagraph3">for the media file<br /><br /><br /><br /></span></div>   
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </div>
    </div>
    <script type="text/javascript">
    swfobject.registerObject("FlashID");
      </script>
      </div>
    </body>
    </html>

    Woohoo! I was able to resolve the issue including the validation issue.  But I have a follow up question...
    Currently if you click on the play button another window pops up which has the play/control/stop buttons to control the audio file.  The attribute is set to new window.  If I change the attribute to parent window, then the page that has the control buttons overlays ontop of the page with the link.
    To get back to the original page, one must click on the back arrow near the address bar.
    Isn't there a way to not have a separate window appear?  In other words, the controls are embeded into the parent page?

  • 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

  • How to include element on page TOC in dynamic converter

    Hi,
    I am trying to create TOC in dynamic converter, when I open edit template, select element, and properties, check on include in page TOC, Click OK to close properties window, then come back to take look the change, the check is gone. it happens to all the elements. How to include element in page TOC? are there other steps have to be done before elements can be added? Thanks!
    T.J.

    JSP tags don't add html elements. Add the html and body elements as listed:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:pe="http://xmlns.oracle.com/adf/pageeditor"
              xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <html>
      <body>
      <af:pageTemplateDef var="attrs">
        <af:xmlContent>
          <component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
            <display-name>sampletemplate</display-name>
            <facet>
              <facet-name>content</facet-name>
            </facet>
            <attribute>
              <attribute-name>hideBreadcrumb</attribute-name>
              <attribute-class>java.lang.Boolean</attribute-class>
              <default-value>#{false}</default-value>
            </attribute>
          </component>
        </af:xmlContent>
       <af:resource type="javascript" source="//scripts/code.js"/>
      </af:pageTemplateDef>
      </body>
    </html>
    </jsp:root>

  • The Include Directive (at Page Translation Time)

    Version: 5.1
              Service Pack: 6
              I am generating the following error when I attempt to manually compile a JSP
              file:
              [jspc] parsing /vobs/projects/public_html//test.jsp:
              WARNING: Failed to include file 'test.inc' in include directive of page
              /test.jsp
              I've attempted practically every permutation of full and relative path
              locations, and cannot get it to work. Weblogic's JSP documentation did not
              have much to say about this either.
              Is anyone aware of a bug in the jsp compiler that would cause such a
              problem?
              

    Really strange, I used absolute path and put it under docroot, and I didn't
              put that folder into my any of my classpaths, the wls can find it without
              any problem. I used wls5.1 and sp6, do I miss sth?
              Thanks.
              mreiche <[email protected]> wrote in message
              news:[email protected]...
              >
              > No, it's not useless to add the include directory to the classpath - due
              to a bug in WLS 5.1,
              > it looks in the classpath for include files that begin with '/'.
              >
              > He is using the absolute path. That's why WL does not find it.
              >
              > Mike.
              >
              > "Tao Zhang" <[email protected]> wrote:
              > >
              > >Anchal Jain <[email protected]> wrote in message
              > >news:[email protected]...
              > >>
              > >> I added the directory that contains the included files to the
              > >> classpath but I still get the error below.
              > >It's useless to add such directory to the classpath. Please remove it.
              > >In order to recompile it dynamically you have to set it up in
              > >weblogic.properties file.
              > >
              > >>
              > >> WARNING: Failed to include file 'authenticate.jsp' in include
              > >> directive of page /analyze.jsp
              > >>
              > >You should inlcude all these jsps under your docroot.
              > >
              > >Make sure the relative path of include directive is right. Or you can use
              > >the absolute path and try.
              > >
              > >> Do I have to compile the included files
              > >> individually and then compile the main jsp?
              > >>
              > >> Any suggestion will be greatly appreciated.
              > >>
              > >> Anchal
              > >>
              > >>
              > >> "Greg Panzer" <[email protected]> wrote:
              > >> >The Weblogic JSP compiler is looking in the classpath for the include
              > >files.
              > >> >
              > >> >When manually compiling the JSPs, put the docroot in the CLASSPATH.
              > >> >
              > >> >Greg Panzer <[email protected]> wrote in message
              > >> >news:[email protected]...
              > >> >> Version: 5.1
              > >> >> Service Pack: 6
              > >> >>
              > >> >> I am generating the following error when I attempt to manually
              compile
              > >a
              > >> >JSP
              > >> >> file:
              > >> >>
              > >> >> [jspc] parsing /vobs/projects/public_html//test.jsp:
              > >> >> WARNING: Failed to include file 'test.inc' in include directive
              of
              > >> >page
              > >> >> /test.jsp
              > >> >>
              > >> >> I've attempted practically every permutation of full and relative
              path
              > >> >> locations, and cannot get it to work. Weblogic's JSP documentation
              did
              > >> >not
              > >> >> have much to say about this either.
              > >> >>
              > >> >> Is anyone aware of a bug in the jsp compiler that would cause such a
              > >> >> problem?
              > >> >>
              > >> >>
              > >> >>
              > >> >>
              > >> >
              > >> >
              > >>
              > >
              > >
              >
              

  • Include virtual

    I have a J2EE webapplication with different JSP-pages. Some of the pages uses:
    &lt;!-- #include virtual="/inc/filename.jsp" --&gt;
    to include other jsp-files. When I deploy my application to Oracle9iAS and test it, the files included with the virtual-statement are not shown. Files included with the normal statement:
    &lt;%@ include file="filename.jsp" %&gt;
    are included. Can anyone tell me why the files included with the virtual-statement won't be included when I run the application?

    I have a J2EE webapplication with different JSP-pages. Some of the pages uses:
    &lt;!-- #include virtual="/inc/filename.jsp" --&gt;
    to include other jsp-files. When I deploy my application to Oracle9iAS and test it, the files included with the virtual-statement are not shown. Files included with the normal statement:
    &lt;%@ include file="filename.jsp" %&gt;
    are included. Can anyone tell me why the files included with the virtual-statement won't be included when I run the application?

  • How to include a jsp page in another jsp jsp page

    hi,
    i m trying to include a jsp page name "header.jsp" into one jsp page name"selectattribute.jsp" i m using these commands in "selectattribute.jsp"
    <%@include file "header.jsp"%> bcz both these jsp page are C:\program files\tomcat 4.0\webapps\examples\jsp\Poject\
    but the problem is that , i m invoking this jsp page "selectattribute.jsp" from a servlet reportcontroller.java using REQUEST DISPATCHER.
    the servlet is in
    C:\Program files\tomcat 4.0\webapps\examples\WEB-INF\classes\Project\
    i want to know how to include some other jsp page in a jsp page and how to invoke applet from jsp page when that particular jsp page is being invoked by servlet.
    plz help
    manish

    use this for including in your selectattribute.jsp
    <jsp:include page="header.jsp" flush="true"/>
    I never tried calling an applet. I think you can write the code for calling the applet in a javabean method and call the method in the jsp

  • How can I do a dynamic include of a page fragment?

    I have a technical support website with a lot of simple html pages. What I want to do is hyperlink from the index page to another page, which would display these html pages as a page fragment, dynamically based on a session bean set by the hyperlink.
    I basically want to do this, if it was possible:
    <jsp:directive.include file="#{SessionBean1.pageToDisplay}"/>
    Now the FAQ's has a topic "How can I do a dynamic include of a page fragment?", which would seem to answer my question.
    But this is all it says, and it makes no sense to me. Could someone please translate? :)
    "Using a page fragment file (but using instead of the usual Creator approach) will accomplish a dynamic include."

    Here is 1 solution:
    First add this to the jsp:root tag:
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    Then surround the page fragment directive with something like this:
                            <div style="position: absolute; left: 24px; top: 408px">
                                <c:if test="${SessionBean1.count > 0}">
                                    <jsp:directive.include file="testPF.jspf"/>
                                </c:if>
                            </div>

  • HELP --- Error while adding Portlets to the Page. (WWC-44012)

    Hi all,
    I have a pl/sql portlet. It compiles fine and shows up perfectly in portlet repository. But when i add this to the page, I get following error
    Error while adding Portlets to the Page. (WWC-44012)
    An unexpected error occurred: User-Defined Exception (WWC-43000)
    An unexpected error occurred: User-Defined Exception (WWC-43000)
    An unexpected error occurred: User-Defined Exception (WWC-51004)
    (WWC-00000)
    I checked the portlet specification file (.pks) and body file (.pkb) for any mistakes but they seems fine.
    Does anyone know what can cause this error?
    Any pointers in this regards will be highly appreciated.
    Thanks!!!
    Rajesh

    Rajesh,
    Could you provide some more details about your code? I will try to look into possible causes of the error. One thing you may try is subscribing to the Knowledge Exchange on http://portalcenter.oracle.com. Then you could post your code in your community folder and everyone would be able to test it out.
    Of course, this means you must be willing to share your code with everyone.
    James

  • Include a Glossary Page in a Webi report for report documentation

    Hi experts,
    My client would like to include a Glossary Page at the start/end of each Webi report. This page should include documentation/explanation of each dimension detail, measure, formula, etc shown on the report.
    I cannot find any designated location in the Webi report for documentation purpose. Assuming I have created this documentation in a word/html document, what is the easiest way of including this info in the Webi report?
    So far I can think of 2 options:
    1) Include a new report with one or more blank cells, and paste the text from the word/html document into the blank cell.
    Pros: Can be printed out together with the report contents (print both reports together).
    Cons: Considerable effort with creating this page
    2) Include a blank cell in the original/separate report, and insert a hyperlink for this word/html document into the blank cell.
    Pros: Less effort involved
    Cons: Cannot be printed out together with the report contents
    Besides these 2 options, are there better ways of creating the Glossary page?
    Thanks in advance for any suggestion.
    Linda

    We do something similiar in that users cannot create a new document.  Users can only copy and edit the existing template for new reports.  The template has standard headers, footers and confidentiality statements that are required on all reports.
    Here are some of the standard formulas we include in the header/documentation report tab:
    ="Report Title: "+DocumentName()
    ="Run User: "+CurrentUser()
    ="Run Date: "+LastExecutionDate()
    =If (DocumentPartiallyRefreshed();"Your document contains partial data only")
    =DocumentName()
    =DataProviderSQL([Query 1])
    These formulas automatically fill in some of the basic data using option 1 from your list.

  • Friends..how can i include a jsp page in a servlet

    like i want to use like
    if(conditionl)
    out.println(" welcome");
    //////// here i want to include some jsp page /////
    I tried with...
    <% @include %> but its not working
    Thanks in advance

    I tried with...
    <% @include %> but its not working
    Thanks in advanceThat only woks for JSP Pages.
    You have to call the include method of the RequestDispatcher
    if(conditionl)
      out.println(" welcome");
      getRequestDispachter("/myJSPDir/my.jsp").include(request, response);
    }

  • How can I include a jsf page?

    I need to include a jsp page that contains jsf code, I try with:
    <c:import url="faces/include.jsp" var="prova" />
    but the server response:
    javax.servlet.ServletException: Cannot find FacesContext
    There something that is wrong?
    Thank's
    Teo

    I read the document but is not my case.
    My java server faces works well until I put the tag
    <c:import url="./include.jsp" var="jsf" />
    from tag library, ans I don't know why
    Thank's
    Matteo

  • HTTP Error 403 - Forbidden  error when auto including a jspx page

    Hi All -
    We have a situation where one of different reports pages gets included inside a main reports page based on user selection via a selectOneChoice control.
    But when the Reports Main page tab is clicked for the first time we get a "You are not authorized to view this page" HTTP Error 403 - Forbidden error.
    Upon clicking "Refresh" and then clicking the Reports Main page tab again, the page renders correctly.
    This is our code snippet. All the report related pages(MainPage.jspx, Schedule.jspx and Budget.jspx) are inside a reports folder under the context root. Please help.
    Thanks for your time.
    MainPage.jspx
    =====================
    Here I have a selection box, and based on the user selection I include different JSPX pages. The page Definition of this page
    contains all the executables and the bindings of the included pages also.
    <af:selectOneChoice value="#{backing_Reports.measureSelected}"
    label="Measure" unselectedLabel="Select One"
    id="selectmeasure" autoSubmit="true"
    immediate="true">
    <af:selectItem label="Schedule Data"
    value="Schedule.jspx"/>
    <af:selectItem label="Budget Data"
    value="Budget.jspx"/>
    </af:selectOneChoice>
    <af:panelGroup>
    <jsp:include page="${backing_Reports.measureSelected}" flush="true"/>
    </af:panelGroup>
    Faces Config:
    ===================
    <navigation-rule>
    <from-view-id>*</from-view-id>
    <navigation-case>
    <from-outcome>GlobalHome</from-outcome>
    <to-view-id>/pages/Welcome.jspx</to-view-id>
    <redirect/>
    </navigation-case>
    <navigation-case>
    <from-outcome>GlobalReports</from-outcome>
    <to-view-id>/reports/MainPage.jspx</to-view-id>
    </navigation-case>
    <!-- 1. Reports menu tab item -->
    <managed-bean>
    <managed-bean-name>menuItem_Reports</managed-bean-name>
    <managed-bean-class>cs.view.menu.MenuItem</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
    <property-name>label</property-name>
    <value>#{resources['scorecard.menu.reports']}</value>
    </managed-property>
    <managed-property>
    <property-name>viewId</property-name>
    <value>/reports/MainPage.jspx</value>
    </managed-property>
    <managed-property>
    <property-name>outcome</property-name>
    <value>GlobalReports</value>
    </managed-property>
    </managed-bean>
    :

    We have solved this, temproarily. But don't know if this is the best method to do this. Please post if somepne has a better way of doing this.
    While debugging we found that the ${backing_Reports.measureSelected} field which was set to a default value in backing bean was returned as null when the page renders for the first time. So we had a work around like this in our MainPage.jspx
    <af:panelBox width="80%" partialTriggers="selectmeasure"
    inlineStyle="margin:40.0px;">
    <af:panelGroup>
    <jsp:include page="${backing_Reports.measureSelected==null?'BlankPage.jspx':backing_Reports.measureSelected}"
    flush="true"/>
    </af:panelGroup>
    </af:panelBox>
    Thanks.

  • Reports included in the page keep looping without retrieving any results

    We are facing an issue related to the behaviour of Siebel Analytics when more than 1 answer are included in a dashboard page. When a report is generated, the other reports included in the page keep looping without retrieving any results, but if I manually click on 'cancel' link, the reports successfully appear with consistent data. This behaviour is not stable since sometimes the page works fine, sometimes not, but it's not clear what it depends on. Can anybody please let me know if this behaviour is a known bug.

    Hi Deb,
    Could you please explain me in more detail?
    The problem is we are able to see the old reports that we were already moved into Q environment. The newly moved 5 reports are giving this error message.
    Please help
    Thanks
    Sri

  • MacBook Pro with OSX 10.7.3 using Firefox 10.0.2 no longer shows photos included in newspaper page downloads.

    Using MacBook Pro OSX 10.7.3 and Firefox 10.0.2 when downloading pages via internet of newspapers such as Toronto Star for example, photos included in the page or item download are absent from the download. There is a box with a line margin around the space for the photo, and the written description of the photo is present.
    Firefox is browser of preference and every version prior to most recent update has functioned perfectly.
    This is a new problem!
    Thank you.

    If images are missing then check that you aren't blocking images from some domains.
    *Check the permissions for the domain in the current tab in "Tools > Page Info > Permissions"
    *Check that images are enabled: Tools > Options > Content: [X] Load images automatically
    *Check the exceptions in "Tools > Options > Content: Load Images > Exceptions"
    *Check the "Tools > Page Info > Media" tab for blocked images (scroll through all the images with the cursor Down key).
    If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.
    Make sure that you do not block third-party images, the permissions.default.images pref should be 1.
    *http://kb.mozillazine.org/Images_or_animations_do_not_load
    *http://kb.mozillazine.org/about:config
    There are also extensions (Tools > Add-ons > Extensions) and security software (firewall, anti-virus) that can block images.
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for

  • ORACLE 11G INSTALLATION PROBLEM ON WIN7 32 bit

    okay i intalled the 11g edition but quite unsuccesfully . This is the view of start menu entry start->allprograms->oracle 11g express edition->empty Well, it shouldn't be like this ! Can't figure out why ? Edited by: 908289 on Jan 16, 2012 3:52 AM Ed

  • Error while creating user in LDAP (MS ADS) from SAP Portal 7.0

    Hi, Is it obliged to use SSL connection to create new user in LDAP (MS ADS) from SAP Portal 7.0 ? I've configured the UME with ldap server adress and port 389. And use configuration file "dataSourceConfiguration_ads_writeable_db.xml" I succeed to vie

  • NativeObject is not shown in ADSIedit

    Why nativeObject propperty is not shown in ADSIedit? It is because I am able to query out the nativeObject property but the result show no value. From some research, can I conclude that NativeObject property is a method? That why it can be seem in po

  • Missing frames at the end of my rushes

    Hi, I am using Final Cut Express 4. I have a few video file in .mov format - 25 FPS. I can view them in FULL with QuickTime Player on my iMac. When I try to use them in FC, those same files are missing a few framesat the end of the video. ie: Normal

  • Web service model cache

    Hi all, I am using adaptive web service model in CE7.2 Server. every time i made some change to the web service, it is not well recognized, for example, i add one more field in the input request. i reimported the model, compile and deploy. the server