Extra pair of HTML /HTML tag included at web source

I have created a report of JSP format. The charset of the file was UTF-8 and the report contained some Chinese words. When I previewed the file using Reports Developer, it displayed the Chinese words correctly. Then I deployed the report to Oracle AS server. However, when I browsed the report from web browser using "rwservlet?report=abc.jsp&userid=system/manager@ccc&destype=cache&desformat=html" command, it could not display the Chinese words correctly because the charset encoding is set to ISO-8859 (English).
I have already set the report to use charset UTF-8. Then I opened the file in the "cache" directory at web browser. It displayed the Chinese words correctly and the default encoding was UTF-8. The next step was viewing the source code of the content displayed using "rwservlet" command. I finally found that there was an extra pair of <HTML></HTML> tag at the beginning of source code. The source code therefore looks like:
<HTML>
<Head>
<base href="http://dev.abc.com:7777/reports/rwservlet/getfile/rep_dev/1/06587041.htm">
</Head>
</HTML>
<HTML>
<Head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</Head>
<Body>
</Body>
</HTML>
There are two pairs of <HTML></HTML> tag!
The content of the pair of tag include a reference to the corresponding file at the "cache" directory, but it did not specific any charset encoding. When I manually changed the encoding from ISO-8859 to UTF-8, the Chinese words were displayed correctly.
Can someone tell me why there is an extra pair of <HTML></HTML> tag at the beginning of source code? Where can I set the charset encoding of the extra pair of tag?
Actually I face the same problem when sending the output to printer by setting the "destype" to printer. The Chinese words are not printed correctly.
Thank you very much for any help and idea.
- Man Ip

Sorry that there is some problem on the displayed source code.
The 3rd line should be as follow:
base href="http://dev.abc.com:7777/reports/rwservlet/getfile/rep_dev/1/06587041.htm"
- Man Ip

Similar Messages

  • Problem with html:select or html:options tags using struts,jsp and tomcat

    Hi
    I'm updating a Struts-Project to a new layout and therefore rework all jsp Sites.
    I'm also using a new Folder-Structure and update therefore my struts-config file.
    My Problem now is:
    Till now, we had a select-field with a code like this:
    < html:form action="/timetableAction" method="POST">
    < table width="53%" border="0">
    < tr>
    < td>< html:radio property="dauer" value="semester"
    /></ td>
    < html:select property="semester" size="1">
    < htmlptions name="semesterList" />
    </ html:select>
    </ html:form>
    The problem now is, that whenever I use any <html:xy> tag, the tomcat server I use can not show the page, he shows just the headers of the template, but not the
    content.-jsp-File where the form would be in. He stops right in the middle of the html page, when he notices the <html:xy> tags.
    And the funny thing is, that he has no problem to show a page when there is a <html:errors> within it? Why could this be? the struts-html.tld File is well included and teh Tomcat Server shows no exceptions.
    Waiting for you answers and thanks

    Thank you, I already got the answer in another forum

  • Jsf-1_0-pfd-spec.pdf - 9.5 Standard HTML RenderKit Tag Library

    I am somewhat confused by section 9.5 in jsf-1_0-pfd-spec.pdf.
    It ends with
    "Each action included in the Standard HTML RenderKit Tag Library is documented
    in a subsection below, with the following outline for each action:"
    I however seem to miss these subsections.
    Am I interpreting something wrong or is there stuff missing?
    Thanks,
    Peter

    The description of Std HTML Renderkit (8.5 ) as well as the Std HTML tag library will be updated by the next release. In the mean time, please refer to the TLD. Sorry for the confusion if any.
    -Jayashri

  • Jsf equivelent of struts html:base tag

    I'm having an issue with the myfaces panelNavigation component. I'm including it in a series of pages with subview & jsp:include tags. It's working great with one exception. If I browse to a document one directory deeper than the "home" page, and then click the "home" link taking me back to the parent directory, the external css sheet doesn't load. All of my links and text are there, but not styled at all. If I click the link again, every thing loads fine.
    I remember the <html:base> tag from struts and I tried using it on the home page. However, the page refused to load and the server did not throw a stack trace (even though the logging is set to FINE).
    I'm wondering if anyone else has experienced a similar issue and if there is an equivelent tag in JSF to solve this problem.
    Thanks!

    thanks for you answer.
    but when i use the <html:base/> tag, everybody can see my internal structure when viewing the source code of the generated html in browser.
    i think i haven't understood the base tag (and have never used it).
    could somebody tell me how to use this tag correctly ? (html or struts version)
    actually my problem is, i used to define a variable at the top of every jsp page like this :
    <%! String conPath ; %>
    <% conPath = request.getContextPath();%>
    then,
    <a href="<%= conPath%>/some/link">Some Text</a> or <img src="<%=conPath%>/image/bottom.jpg">, is there a better way without using java code in jsp ? because when the context root changes some day, i have to change all jsp pages.
    can the <base> tag be helpful here ? how ?
    yawmark,
    when i put all my jsp files under WEB-INF, do i have to change something in struts-config.xml ?
    thanks in advance

  • RTF to HTML Conversion to include in JSP

    I have an RTF file which I need to display in a JSP page.
    I have converted the file successfully using RTFEditorKit and HTMLEditorKit, and now have a string which is a complete HTML file.
    Unfortunetly I need to show this String in a JSP - this has a title at the top of the page and an exit button at the bottom. I cannot simply print the String as it contains HTML headers and so the page does not display correctly.
    Is there a way to include the HTML string in the jsp successfully?
    I don't want to output the HTML to a file and then include the file or use object or iframe to include the file.
    Is there an easy way perhaps to strip the header tags from the String?
    Or create the HTML string without the header tags at all?
    Thanks

    hi,
    i'm also trying to do the same thing (convert rtf to html). i was wondering if your conversion handles tables and if so if you could post the code as i'm having trouble finding out info about rtf's.
    in terms of stripting out the body tags there are a number of different ways of doing this, here's one way>
    myBigHtmlString = your html doc loaded in to a string;
    String[] tagsToStripOutArray = {"<html>","</html>","<body>", "</body>", "etc", "etc"};
    int pos=0;
    for (int x=0; tagsToStripOutArray.length; x++) {
    pos = myBigHtmlString.indexOf(tagsToStripOutArray[x]);
    if (pos != -1){ // if tag exists in string strip it out
    myBigHtmlString = myBigHtmlString.substring(0,pos)+myBigHtmlString.substring(pos+(tagsToStripOutArray[x].length());
    }// end for
    i haven't compiled this so there maybe errors,
    cheers,
    ben

  • Sorry about first try : how to avoid html-text tag converting & to & amp;

    subject
    how to avoid html:text tag converting "&" to "& amp;"?
    body
    hi,
    i have some values on DB like "& #351;" and when i use html:text to
    show binding's value, html:text converts "&" to "& amp;". in generated
    html, it looks like "& amp;#351;".
    how to avoid this conversion?
    thanks...
    Ayhan G�ng�r
    note: i use white-space among special characters because browser renders them. ex : (& amp; to &)

    hi, i use property attribute of html:text.
    property is declared in UIModel xml file.
    i mean, i don't use something like
    <html:text value="data"/>i use just like
    <html:text property="bindingName"/>and value is shown in generated html input tag as value.
    html:text has no attribute like filter.
    i think i should override html:text tag, and create a new tag that checks if value includes "& #351;" this type data. If there is, don't convert "&" to "& amp;"?
    any suggestions?
    thanks...
    Ayhan

  • How to compare result from sql query with data writen in html input tag?

    how to compare result
    from sql query with data
    writen in html input tag?
    I need to compare
    user and password in html form
    with all user and password in database
    how to do this?
    or put the resulr from sql query
    in array
    please help me?

    Hi dejani
    first get the user name and password enter by the user
    using
    String sUsername=request.getParameter("name of the textfield");
    String sPassword=request.getParameter("name of the textfield");
    after executeQuery() statement
    int exist=0;
    while(rs.next())
    String sUserId= rs.getString("username");
    String sPass_wd= rs.getString("password");
    if(sUserId.equals(sUsername) && sPass_wd.equals(sPassword))
    exist=1;
    if(exist==1)
    out.println("user exist");
    else
    out.println("not exist");

  • Insert an HTML Table tag as a value in a Tree Table

    Hi helper,
    Can I insert an HTML Table tag inside a TreeTable (Hierarchical data) using AdvancedDataGrid as a value?
    I need to create a Tree table in flex and I have beside normal int values some cells that need to show a certain images in an HTML Table I will create.
    Is it possible?
    Please advice
    Thanks
    Jo

    <div class=Section1><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>It depends on where you get the list of images<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Alex Harui<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Flex SDK Developer<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><a href="http://www.adobe.com/"><span style='color:blue'>Adobe<br />Systems Inc.</span></a><o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Blog: <a href="http://blogs.adobe.com/aharui"><span<br />style='color:blue'>http://blogs.adobe.com/aharui</span></a><o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><br /><br /><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span<br />style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Yossi Bar<br />[mailto:[email protected]] <br><br /><b>Sent:</b> Monday, February 09, 2009 1:14 AM<br><br /><b>To:</b> [email protected]<br><br /><b>Subject:</b> Re: Insert an HTML Table tag as a value in a Tree Table<o:p></o:p></span></p><br /><br /></div><br /><br /><p class=MsoNormal><o:p> </o:p></p><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>A new message was posted by<br />Yossi Bar in <br><br /><br><br /><b>Developers</b> --<br><br />  Insert an HTML Table tag as a value in a Tree Table<br><br /><br><br />Thanks Alex, <br><br />What is the way to implement HorizontalLIst of images for<br />AdvancedDataGridColumn? <br><br /><br><br />In the code here I create a tree table and in Actual column I show an image: <br><br /><br><br />&lt;mx:AdvancedDataGrid width=&quot;100%&quot; height=&quot;100%&quot;<br />folderClosedIcon=&quot;{null}&quot; folderOpenIcon=&quot;{null}&quot;<br />defaultLeafIcon=&quot;{null}&quot;&gt; <br><br /><br><br />&lt;mx:dataProvider&gt; <br><br />            &lt;mx:HierarchicalData<br />source=&quot;{dpHierarchy}&quot;/&gt; <br><br />        &lt;/mx:dataProvider&gt; <br><br />        &lt;mx:groupedColumns&gt; <br><br />         &lt;mx:AdvancedDataGridColumn<br />headerText=&quot;&quot; width=&quot;50&quot;/&gt; <br><br />            &lt;mx:AdvancedDataGridColumn<br />dataField=&quot;Region&quot; backgroundColor=&quot;haloSilver&quot;<br />headerText=&quot;Region title&quot;<br />headerRenderer=&quot;mx.controls.Label&quot;/&gt; <br><br />            &lt;mx:AdvancedDataGridColumnGroup<br />headerText=&quot;Group Header&quot;<br />headerRenderer=&quot;mx.controls.Label&quot;&gt; <br><br />&lt;mx:AdvancedDataGridColumn dataField=&quot;Territory_Rep&quot;<br />headerText=&quot;Territory Rep&quot;<br />headerRenderer=&quot;mx.controls.Label&quot;/&gt; <br><br />&lt;mx:AdvancedDataGridColumn dataField=&quot;Actual&quot;<br />headerText=&quot;Actual title&quot;<br />headerRenderer=&quot;mx.controls.Label&quot;&gt; <br><br />&lt;mx:itemRenderer&gt; <br><br />&lt;mx:Component&gt; <br><br />&lt;mx:VBox horizontalAlign=&quot;center&quot;&gt; <br><br />&lt;mx:Image width=&quot;50&quot; source=&quot;{data.Actual}&quot;/&gt; <br><br />&lt;/mx:VBox&gt; <br><br />&lt;/mx:Component&gt; <br><br />&lt;/mx:itemRenderer&gt; <br><br />&lt;/mx:AdvancedDataGridColumn&gt; <br><br /><br><br />&lt;mx:AdvancedDataGridColumn dataField=&quot;Estimate&quot;<br />headerText=&quot;Estimate title&quot; headerRenderer=&quot;mx.controls.Label&quot;/&gt;<br /><br><br />            &lt;/mx:AdvancedDataGridColumnGroup&gt;<br /><br><br />        &lt;/mx:groupedColumns&gt; <br><br />    &lt;/mx:AdvancedDataGrid&gt; <br><br /><br><br />Please advise, <br><br /><br><br />Thanks <br><br /><br><br />Jo <o:p></o:p></p><br /><br /><div class=MsoNormal><br /><br /><hr size=2 width=200 style='width:150.0pt' align=left><br /><br /></div><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>View/reply at <a<br />href="http://www.adobeforums.com/webx?13@@.59b7d1ae/2">Insert an HTML Table tag<br />as a value in a Tree Table</a><br><br />Replies by email are OK.<br><br />Use the <a<br />href="http://www.adobeforums.com/webx?280@@.59b7d1ae!folder=.3c060fa3">unsubscribe</a>< br />form to cancel your email subscription.<o:p></o:p></p><br /><br /></div>

  • Use of titleKey attribute in html:select tag

    Hi,
    There is one "titleKey" attribute to create mouse over pop-up texts taking key values from property files in case of i18n. It works for every struts specific tag like <html:text titleKey="help.rmc.name"/> or <html:checkbox titleKey="help.rmc.name"/> except for <html:select> tag which is used for creating combo box or list box. But this tag contains the titleKey attribute.
    Please give me some suggestions how to implement this mouse over pop-up texts in case of <html:select> tag

    Hi,
    There is one "titleKey" attribute to create mouse over pop-up texts taking key values from property files in case of i18n. It works for every struts specific tag like <html:text titleKey="help.rmc.name"/> or <html:checkbox titleKey="help.rmc.name"/> except for <html:select> tag which is used for creating combo box or list box. But this tag contains the titleKey attribute.
    Please give me some suggestions how to implement this mouse over pop-up texts in case of <html:select> tag

  • How to specify HTML meta tags?

    I'm trying to get a portal to always have the following an HTML meta tag in the head of the generated HTML:
    <meta name="ROBOTS" content="NOFOLLOW" />
    I haven't seen any documentation about doing this in particular, but looking at some of the XML schema (*.xsd) files in various weblogic-specific jars, it seems like maybe the following would work in the <netuix:head> tag of the .portal configuration file for the portal:
    <netuix:head>
    <netuix:meta name="ROBOTS" content="NOFOLLOW" />
    </netuix:head>
    However, this does not seem to work.
    Also, I've checked the skin.properties file to see if there are any comments about how to specify meta tags, but there aren't any.

    Turns out there are a number of ways to do this. A BEA consultant recommended modifying the "head.jsp" for the portal's skin.
    Alternatively, it dawned on me that all I had to do was put the meta tags in a jsp and use that jsp in the head area of the .portal file. For example:
    <netuix:head>
    <netuix:jspContent contentUri="/resources/jsp/customHead.jsp"/>
    </netuix:head>

  • Html files with included php: related files, code color?

    Hi there,
    Wow, what an active forum!
    I have two questions about html files that include php.
    Almost all my html files have this structure:
    <?php
    (php stuff)
    require_once 'somefile.php';
    ?>
    (html stuff)
    My first question is, is there any way for DW CS4 to display the files included this way? At the moment, they don't show up in related file view.
    My second question is, is there any way for DW CS4 to display the html and php code in the file in a pleasant way? The php is not red as it is in pure php files.
    Definitely not wanting to change the way I code or to change the file extensions...
    Instead, wanting to change the SW settings to make my work easier.
    With gratitude,
    Smiles
    Andy

    Hi Brad,
    Thanks for your reply!
    > The PHP coding in a regular HTML page likely won't even work in a  browser
    That's a standard coding technique...LOL... Maybe I didn't explain correctly...
    My hundreds of pages validate XHTML transitional...
    You are quite right that browsers do not interpret php code, but the  browser never sees php code.
    I will try to explain again
    The html file starts with <? php (code> ?>
    When the browser calls the html file, the server knows to process the file as php.
    It processes the php, then returns some html headers, and follows up with all the html that is after the <? php (code> ?> section.
    Thousands of php coders work like this.It's a very efficient way of building a modular website while keeping html extensions.
    By the way, related files already show in CS4 if they are in the html code.
    Are you 100% sure you are correct about the CS5 inclusion situation? You won't know unless you have built an html file that looks like this.
    <?php
    require_once 'myfile.php'>
    ?>
    <body>
    hello html
    </body>
    Your myfile.php might look like this:
    <?php
    echo 'hello php <br />';
    ?>
    If you have never used php in an html file, you will probably need to add something like this to your .htaccess file:
    AddHandler application/x-httpd-php5 .php .htm .html
    It tells your server that php processes not only php files but also html files.
    Warmest wishes to all,
    Andy

  • How to include html page or html code in adobeflex 4 web application please give me a solution.

                     How to include html page or html code in adobeflex 4 web application please give me a solution.
                       Thank you
                       Chandra Sekhar

    hi,
    go thru this link, may be of some help for you
    About IFrames
    http://www.deitte.com/archives/2006/08/finally_updated.htm
    IFrame Src
    http://code.google.com/p/flex-iframe/
    About the IFrame Approach
    http://www.deitte.com/archives/2008/07/dont_use_iframe.htm

  • Can I use Struts Validator Plugin's html:javascript tag?

    Hi:
    Is it possible to incorporate the client-side validation using Struts Validator
    Plugin's tag <html:javascript>?
    i.e.
    1) Insert the following tag to A.jsp and define a taglib:
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
    <html:javascript formName="aForm" staticJavascript="true"/>
    2) Define validation.xml as follows:
    <form-validation>
    <formset>
    <form name="aForm">
    <field property="aField"
    depends="required">
    <msg name="required" key="FieldMissingError"/>
    </field>
    </form>
    </formset>
    </form-validation>
    3) Insert the onSubmit event in aForm:
    <netui:form action="SubmitAForm" style="border-width:1px;" onSubmit="validateAForm(this)">

    Instead of writing something like this -
    <p class="logos">Logo1<a href="...></a></p>
    <p class="logos">Logo2<a href="...></a></p>
    <p class="logos">Logo3<a href="...></a></p>
    <p class="logos">Logo4<a href="...></a></p>
    <p class="logos">Logo5<a href="...></a></p>
    <p class="logos">Logo6<a href="...></a></p>
    Why not have something like this -
    <div id="logodiv">
    <p>Logo1<a href="...></a></p>
    <p>Logo2<a href="...></a></p>
    <p>Logo3<a href="...></a></p>
    <p>Logo4<a href="...></a></p>
    <p>Logo5<a href="...></a></p>
    <p>Logo6<a href="...></a></p>
    </div>
    with CSS like this -
    #logodiv p { ... }

  • Using the new HTML 5 tags

    I can't  get the new HTML5 tags section, header and footer to work on my page.  When I change the divs to section it totally screws up the page rendering.I added the appropriate CSS to my style sheet.  What do I do?
    Here is the oiginal code:
    <!DOCTYPE HTML>
    <html><!-- InstanceBegin template="/Templates/Ricks Universe.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <!-- InstanceBeginEditable name="doctitle" --> 
    <titleRick's Universe</title>
    <!-- InstanceEndEditable -->
    <meta charset="utf-8">
    <link rel="stylesheet" href="ricks.css" type="text/css" media="screen" title="Ricks Style Sheet"/>
    <link rel="stylesheet" href="hh.css" type="text/css" media="handheld"/>
    <link rel="stylesheet" media="print" type="text/css" href="print.css" />
    <!-- InstanceBeginEditable name="head" -->
    <style type="text/css">
    td {border: 2px;
        bordercolor: #008800;
    </style>
    <!-- InstanceEndEditable -->
    <!-- InstanceParam name="home" type="boolean" value="true" -->                
    </head>
    <body>
    <div id="wrapper">
         <div id="header" title="header">
      <p class="a8">
      <a href="HOME.HTM">Old Home Page</a>  
      <a href="newmenu.htm">Rick's Dog Page</a></p>
      <iframe src="http://free.timeanddate.com/clock/i425m2zy/n179/tct/pct/ahl/avt/tt0/ta1" frameborder="0" width="378" height="19"             allowTransparency="true"></iframe>
      <!-- InstanceBeginEditable name="title" -->
      <p class="title">Rick's Universe</p>
      <!-- InstanceEndEditable -->
         </div> <!-- End header  -->
      <div id="leftcolumn" title="left column">
    <ul>
    <li><a href="MEETDOGS.HTM">Meet the dogs</a></li>
    <li><a href="ART.HTM">Art</a></li>
    <li><a href="PARKING.HTM">Automotive</a></li>
    <li><a href="BABY.HTM">Babies</a></li>
    <li><a href="BOUTIQUE.HTM">The Boutique</a></li>
    <li><a href="CATLG.HTM">Catalogs</a></li>
    <li><a href="CHARITY.HTM">Charities</a></li>
    <li><a href="COMPUTE.HTM">Computing</a></li>
    <li><a href="DAYCARE.HTM">Day Care</a></li>
    <li><a href="DEPT.HTM">Department Stores</a></li>
    <li><a href="DOGCOMP.HTM">Dogs In Competition</a></li>
    <li><a href="DRUGS.HTM">Drug Stores</a></li>
    <li><a href="EDUCATE.HTM">Education</a></li>
    <li><a href="ELECT.HTM">Electronics</a></li>
    <li><a href="EMPLOY.HTM">Employment</a></li>
    <li><a href="ENTERT.HTM">Entertainment</a></li>
    <li><a href="MONEY.HTM">Financial</a></li>
    <li><a href="FITNESS.HTM">Fitness</a></li>
    <li><a href="FLOWERS.HTM">Flowers</a></li>
    <li><a href="FOOD.HTM">Food</a></li>
    <li><a href="FUNGAME.HTM">Fun and Games</a></li>
    <li><a href="GARDEN.HTM">Gardening</a></li>
    <li><a href="GOVMENT.HTM">Government</a></li>
    <li><a href="CARDS.HTM">Greeting Cards</a></li>
    <li><a href="GROCERY.HTM">Groceries</a></li>
    <li><a href="HEALTH.HTM">Health</a></li>
    <li><a href="HOBBY.HTM">Hobbies</a></li>
    <li><a href="HARDWARE.HTM">Home Improvement</a></li>
    <li><a href="INFO.HTM">Information</a></li>
    <li><a href="INTERNET.HTM">Internet and More</a></li>
    <li><a href="JEWELRY.HTM">Jewelry</a></li>
    <li><a href="BOOKS.HTM">Literature</a></li>
    <li><a href="MAPDIR.HTM">Maps and Directions</a></li>
    <li><a href="RECORDS.HTM">Music and Video</a></li>
    <li><a href="MOVIES.HTM">Movies</a></li>
    <li><a href="NEWS.HTM">News Stand</a></li>
    <li><a href="OFFICE.HTM">Office Supplies</a></li>
    <li><a href="PEOPLENET.HTM">People</a></li>
    <li><a href="PETS.HTM">Pets</a></li>
    <li><a href="PHONE.HTM">Phones</a></li>
    <li><a href="PHOTO.HTM">Photography</a></li>
    <li><a href="POST.HTM">Post Office</a></li>
    <li><a href="PRICES.HTM">Price Comparison</a></li>
    <li><a href="REALEST.HTM">Real Estate</a></li>
    <li><a href="SECURITY.HTM">Security</a></li>
    <li><a href="SEARCHNET.HTM">Searches</a></li>
    <li><a href="SENIOR.HTM">Senior Page</a></li>
    <li><a href="SHOES.HTM">Shoe Store</a></li>
    <li><a href="SHOPPING.HTM">Shopping Clubs</a></li>
    <li><a href="SPORTING.HTM">Sports</a></li>
    <li><a href="TOYS.HTM">Toys and Games</a></li>
    <li><a href="TV.HTM">Television</a></li>
    <li><a href="TRAVEL.HTM">Travel</a></li>
    </ul>
      </div> <!-- End Left Column-->                 
      <div class="content">
      <!-- InstanceBeginEditable name="content" -->
      <!-- Position Weather -->
      <div id="weather" class="noborder">
      <script type="text/javascript" src="http://voap.weather.com/weather/oap/11590?template=TRVLV&par=3000000007&unit=0&key=twciwea therwidget"></script>
      </div>
      <div id="center"><!-- Email me code -->
      My E-Mail address is <a class="black" href=
      "MAILTO:[email protected]" onmouseover=
      "window.status='Click Here To Send me E-Mail';return true"
      onmouseout=
      "window.status=' '; return true">[email protected]</a>
      </div>
      <div id="center"><!--CNN Ticker-->
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase=
    "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0"
    id="breakinnews4" width="500" height="81">
        <param name="movie"
    value="http://cnn.com/QUICKNEWS/ticker/ticker.swf" />
        <param name="loop" value="false" />
        <param name="menu" value="false" />
        <param name="quality" value="high" />
        <param name="bgcolor" value="#000000" />
        <embed src="http://cnn.com/QUICKNEWS/ticker/ticker.swf" loop=
    "false" menu="false" quality="high" bgcolor="#000000" width="500"
    height="81" type="application/x-shockwave-flash" pluginspage=
    "http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"/></embed></embed>
      </object>
      </div>
      <br/>
      <!-- Mapquest  -->
      <div id="mapq"> <a href='http://www.mapquest.com' target='_blank'><img border='0' alt='medium-logo.png' src='http://www.mapquestapi.com/cdn/common/images/medium-logo.png'/></a>
      </div>
      <div id="google">
    <table cellpadding=0 cellspacing=0 border=0 >
    <tr>
      <td><img src="Pictures/doodle_plus_google_logo_on_grey.gif" alt="doodle_plus_google_logo_on_grey.gif" /> <br />
      <form method="get" action="http://www.google.com/search">
      <input type="text"   name="q" size="31"
      maxlength="255" value="" />
      <input type="submit" value="Search" />   
      </form> </td>
      <td  style="font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt;">
      <center><table width="90%" cellpadding=0 cellspacing=0 border=0  style="font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt;">
      <tr>
      <br/><br/><span style="font-size: 18pt;">Search this site</span> <br/>
      <td style="font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt;" align=left ><a href="http://search.freefind.com/siteindex.html?si=9724475">index</a></td>
      <td style="font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt;" align=center><a href="http://search.freefind.com/find.html?si=9724475&m=0&p=0">sitemap</a></td>
      <td style="font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt;" align=right><a href="http://search.freefind.com/find.html?si=9724475&pid=a">advanced</a></td>
      </tr>
      </table></center>
      <form style="margin:0px; margin-top:4px;" action="http://search.freefind.com/find.html" method="get" accept-charset="utf-8" target="_self">
      <input type="hidden" name="si" value="9724475">
      <input type="hidden" name="pid" value="r">
      <input type="hidden" name="n" value="0">
      <input type="hidden" name="_charset_" value="">
      <input type="hidden" name="bcd" value="&#247;">
      <input type="text" name="query" size="15">
      <input type="submit" value="search">
      </form>
      <br/>
      <a style="text-decoration:none; color:gray;" href="http://www.freefind.com" >search engine</a><a style="text-decoration:none; color:gray;" href="http://www.freefind.com" > by
      <span style="color: #606060;">freefind</span></a>
      </td>
    </tr>
    </table>
    <!-- end of freefind search box html -->
          </div>
      <br/>    
      <div id="ring">
      <table border="1" cellpadding="2" cellspacing="2" align="center" >
        <tr >
          <td align="center" bgcolor="transparent"><a href="SARIPAGE.HTM" target="_blank"><img src="Pictures/sari/sarinewchamp.jpg" alt="Sari's Page" /></a></td>
       <td align="center" bgcolor="transparent"><a href="HARLEYPAGE.HTM" target="_blank"><img src="Pictures/harley/HarleyChampion.jpg" alt="Harley's Page" /></a></td>
        </tr>
      </table>
      </div>
            <!-- InstanceEndEditable -->
            </div><!-- end of content html -->
      </div><!-- end wrapper -->
      <div id="footer">
      This website is the property of Fredric M. Zipser<br />
            Last Updated on
      <!-- InstanceBeginEditable name="EditRegion6" -->
      01/15/2015
      <!-- InstanceEndEditable -->
      </div><!-- end footer-->
    <div id="sitelock_shield_logo" class="fixed_btm" style="bottom:0;position:fixed;_position:absolute;right:0;"><a href="https://www.sitelock.com/verify.php?site=www.rickzipser.com" onclick="window.open('https://www.sitelock.com/verify.php?site=www.rickzipser.com','SiteLock','width=600,height= 600,left=160,top=170');return false;" ><img alt="PCI Compliance and Malware Removal" title="SiteLock"  src="http://shield.sitelock.com/shield/www.rickzipser.com"/></a></div>
    </body>
    <!-- InstanceEnd --></html>
    Here is the CSS:
    body {
      font-family: Garamond,Arial,sans-serif;
      margin: 0;
      color: #000000;
      font-size: medium;
      font-family:"Verdana";
      font-style: normal;
      font-weight: normal;
      line-height: normal;
      letter-spacing: normal;
      margin:auto;
      background-color: #93A5C4;
    #wrapper {
      background-color: #0000aa;
      color: #000000;
      width: 93%;
      margin:auto;
      min-width: 800px;
      height: 950px;;
      border: 10px solid #008800;
    #leftcolumn {
      float: left;
      margin:0;
      border-right: 10px solid #008800;
      width: 21%;
      height: 89.6%;
      overflow: auto;
    #leftcolumn li {
      list-style-type:none;
        padding-bottom: 0px;
      margin-bottom: 0px;
    #leftcolumn a {
        padding-bottom: 0px;
      margin-bottom: 0px;
    #header {
      color: #007700;
      background-color: #dddddd;
      border-bottom: 2px solid #000000;
      height: 10%;
      clear: both;
      padding-left: 40px;
    .content { padding-top:60px;
      margin:;0;
        float:right;
        height:83.4%;
      background: #87CEFA;
      width:78%;  
      overflow: auto;
    #weather {
      margin:20px;
      float: right;
    #footer {
      font-size: xx-small;
      background-color: #e8ffff;
      border: solid;
      text-align: center;
      padding-top: 20px;
      padding-bottom: 20px;
      padding-left: 40px;
      height: 5%;
    #leftcolumn a {
      text-decoration: none;
      margin: 15px;
      display: block;
    #leftcolumn li {
      padding-top:0;
        padding-bottom:0;
    #center {
        padding-left: 50px;
      padding-bottom: 30px;
      text-align: center;
    div#leftcolumn>ul>li a:link {
      color: #ffffff;
      font-weight: bold;
        text-decoration: none;
      padding-bottom: 0px;
      margin-bottom: 5px;
    div#leftcolumn>ul>li a:visited {
      color: #ffffff;
        text-decoration: none;
    div#leftcolumn>ul>li a:hover { text-decoration: none;
      background-color: #006600;
      color: #ffffff;
    a:link {
      color: #000066;
      font-weight: bold;
        text-decoration: none;
      padding-bottom: 0px;
      margin-bottom: 5px;
    a:visited {
      color: #000066;
        text-decoration: none;
    a:hover {
      text-decoration: none;
      background-color: #000066;
      color: #ffffff;
    .title {
      position: relative; top: -25pt;
      text-align: center;
      color: #0000aa;
      font-size:48px;
      font-weight:bold;
      font-family:"Times New Roman",Georgia,Serif;
        padding-bottom::10px;
    p.a8 {
      float:right;
      padding-right: 10px;
    #google {
      padding-bottom: 20px;
      position: relative; left: 75px;
      display: inline;               
    #mapq {
      padding-top: 50px;
      padding-bottom: 30px;
      float:right;
    #ring {
      text-align: center;
    .AllDogs {
      text-align: center;
    .pic {
      border: thick double #008800;
      padding: 20px;
    .mdogs {
      text-align: center;
    #menutest {
      display: block;
      background-color: #000066;
    .border {
      border: 5px solid #008800;
    ul a {
         padding-right:  4%;
    div.form  {
      padding: 0px;
      color: #FFFFFF;
      text-align: center;
      position: relative; left: -70px;
        font-size: small;
      border:0;
      white-space: nowrap;
    div.d1 {
      padding-left: 10px;
      padding-bottom: 0pt;
      padding-top: 30px;;
    h5 {
      color: #000066;
      position: relative; top: 15px;
    article, aside, figure, footer, header, hgroup, menu, nav, section { display:block; }

    A link would be 100 times better.
    But The main question is are you editing the layouts through the admin editor? If so it will change html5 tags because it is only XHTML compliant. Do not use the editor for markup, only content.
    Either code it and upload it through SFTP or use the develop tab if you see it (Partner only) in the top ribbon.
    In terms of the code you posted, there are no html 5 tags like section etc in there as far as I can see.

  • html:option tag in STRUTS

    How can I put a "selected" attribute in the <html:option> tag in STRUTS? In regular HTML, I can say:
    <select name="test">
    <option name="opt1" selected>Option 1</option>
    </selected>
    But I can't use the "selected" key word in the STRUTS tag:
    <html:select property="myList">
    <logic:equal name="myListElement" value="Hello World">
    <html:option value="opt1" selected>Option 1</html:option>
    </logic:equal>
    <logic:notEqual name="myListElement" value="Hello World">
    <html:option value="other opts">Other opts</html:option>
    </logic:notEqual>
    </html:select>
    How can I get the following to work?
    Thanks,
    Dylan

    DavidHymes wrote:
    He is trying to pre-select an option, not determine which option is selected. I have the same question, anyone know the answer?Ugh! Why're you replying to a thread from over 4 years ago?? Couldn't you start your own topic?
    Take a look at this topic from yesterday: http://forum.java.sun.com/thread.jspa?threadID=5223675

Maybe you are looking for