HTML File -- Highlight

HI All
I have a file in ROOT webapp and I give the file location as http://localhost:8080/files/file1.html so that users can see them.
Now my requirement is I have to show some words highlighted in the file.
I am clueless on...
1. How do I tell what words to highlight. ( I have the words in a java variable)
2. When the user clicks on the link , how to highlight?
Any ideas please......
Thanks
bib/-

From the name of the file you gave, it looks like you are talking about a static html file. What do you mean by highlight? Do you want the words to appear bold or in some other color or what? If you want words in an html file to appear bold: surround them with <B>...</B>. For example:
<B>This line will be bold</b>If you want them in another color, surround them with something like:
<font color="red">This line will be read.</font>Strictly speaking what I am showing you isn't the best way to do it. Style sheets are the preferred approach but that would be too complicated to explain here.
The <body> tag has three attributes which control the color of links: link, alink and vlink. Links which the user is currently clicking on are active links and their color is controlled by alink. Links which have previously been visited are controlled by vlink. All non-visited, non-active nodes are controlled by link. The colors can be specified by either a name or a red, green blue value (e.g. "#FF0000" would be red). Again, style sheets are the preferred approach but all browsers still support the old approach.

Similar Messages

  • Inserting image to a html file

    Hey guys, its been awhile since i worked with codes and i now need to ad an image to my home page where i left a space just for it. I know the image code but it doesn´t seem to be working i think i am placing it in the wrong place. Can someone help me out please ? If needs to i can send the html file (home.html) and the screenshot of my page.
    Thank you guys

    This is the code from your posted link.  I copied View > Source from FF and pasted into NoteTab....  Removed white spaces and copy Ctrl+C & pasted Ctrl+V here using >> Syntax highlighting > Plain.
    Unfortunately, this is only the bloated HTML.  It doesn't include styles from your 9 external CSS files!
    So where are you trying to insert an image???
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html><head>
    <meta http-equiv="X-UA-Compatible" content="IE=7">
    <title>BearGround.com</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="Cache-Control" content="no-cache,post-check=0,pre-check=0,no-cache">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Expires" content="Thu,01Dec199416:00:00GMT">
    <script type="text/javascript"> function stopError() { return true; }; window.onError = stopError; window.status=Date();</script>
    <script type="text/javascript" src="./_server/lib.js"></script>
    <link href="./_themes/main/the_bear/img/favicon.ico" rel="shortcut icon" type="image/x-icon">
    <link rel="stylesheet" href="./_themes/main/the_bear/css/screen.css" type="text/css" media="screen">
    <link rel="stylesheet" media="all" type="text/css" href="./_themes/main/the_bear/css/bg-menu.css">
    <link rel="stylesheet" href="./_themes/main/the_bear/css/inner.css" type="text/css" media="screen">
    <link rel="stylesheet" href="./_themes/main/the_bear/css/bg.css" type="text/css" media="screen">
    <!--[if IE]><link rel="stylesheet" href="./_themes/main/the_bear/css/ie.css" type="text/css"><![endif]-->
    <!--[if lt IE 7]><script type="text/javascript" src="./_themes/main/the_bear/js/bgsleight.js"></script><![endif]-->
    <link rel="stylesheet" href="./_themes/main/the_bear/css/210107.css" type="text/css" media="screen">
    <link rel="stylesheet" href="./_server/games/game.css" type="text/css">
    <link rel="stylesheet" href="./_server/video/video.css" type="text/css">
    <link rel="stylesheet" href="./_server/audiochat/audio.css" type="text/css">
    <link rel="stylesheet" href="./_server/im_new/im.css" type="text/css">
    <script type="text/javascript">
    var xajaxRequestUri="./_server/server.php";
    var xajaxDebug=false;
    var xajaxStatusMessages=false;
    var xajaxWaitCursor=false;
    var xajaxDefinedGet=0;
    var xajaxDefinedPost=1;
    var xajaxLoaded=false;
    function xajax_countries(){return xajax.call("countries", arguments, 1);}
    function xajax_states(){return xajax.call("states", arguments, 1);}
    function xajax_cities(){return xajax.call("cities", arguments, 1);}
    function xajax_update(){return xajax.call("update", arguments, 1);}
    function xajax_im(){return xajax.call("im", arguments, 1);}
    function xajax_im_open(){return xajax.call("im_open", arguments, 1);}
    function xajax_im_sent(){return xajax.call("im_sent", arguments, 1);}
    function xajax_im_close(){return xajax.call("im_close", arguments, 1);}
    function xajax_im_update(){return xajax.call("im_update", arguments, 1);}
    function xajax_game_invite(){return xajax.call("game_invite", arguments, 1);}
    function xajax_game_reject(){return xajax.call("game_reject", arguments, 1);}
    function xajax_game_go(){return xajax.call("game_go", arguments, 1);}
    function xajax_video_invite(){return xajax.call("video_invite", arguments, 1);}
    function xajax_video_reject(){return xajax.call("video_reject", arguments, 1);}
    function xajax_video_go(){return xajax.call("video_go", arguments, 1);}
    function xajax_audio_invite(){return xajax.call("audio_invite", arguments, 1);}
    function xajax_audio_reject(){return xajax.call("audio_reject", arguments, 1);}
    function xajax_audio_go(){return xajax.call("audio_go", arguments, 1);}
    function xajax_saveAlbumTitle(){return xajax.call("saveAlbumTitle", arguments, 1);}
    function xajax_saveAlbumDesc(){return xajax.call("saveAlbumDesc", arguments, 1);}
    function xajax_saveImageTitle(){return xajax.call("saveImageTitle", arguments, 1);}
    function xajax_saveImageDesc(){return xajax.call("saveImageDesc", arguments, 1);}
    </script>
    <script type="text/javascript" src="./_server/xajax_js/xajax.js"></script>
    <script type="text/javascript">
    window.setTimeout(function () { if (!xajaxLoaded) { alert('Error: the xajax Javascript file could not be included. Perhaps the URL is incorrect?\nURL: ./_server/xajax_js/xajax.js'); } }, 6000);
    </script>
    <script type="text/javascript" src="./_server/client.js"></script>
    <script type="text/javascript" src="./_server/im_new/sounds/sm.js"></script>
    <SCRIPT TYPE="text/javascript">
    <!--
    function popupform(myform, windowname)
    if (! window.focus)return true;
    window.open('', windowname, 'width=367,height=600,scrollbars=no,resizable=yes');
    myform.target=windowname;
    return true;
    //-->
    </SCRIPT>
    <!--[if lte IE 8]>
    <script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js" type="text/javascript"></script>
    <![endif]-->
    </head>
    <body>
    <div id="wrapper">
    <div id="header">
    <div id="flashheader">
    </div>
    <ul>
    <li><a href="./news.php?view=4"><img src="./_themes/main/the_bear/img/menu-01.gif" height="7" alt="Site Tour"></a></li>
    <li><a href="./news.php?cat=2"><img src="./_themes/main/the_bear/img/menu-02.gif" height="7" alt=""></a></li>
    <li><a href="./news.php?"><img src="./_themes/main/the_bear/img/menu-03.gif" height="7" alt="Site Info"></a></li>
    </ul>
    </div>
    <iframe id="v3chat2" name="v3chat2" style="width:0px; height:0px; border: 0px" src="v3messenger/run.php?mid=0"></iframe>
    <div id="wrapper">
    <!--     <div id="header">
    <!--<script type="text/javascript"><!--
    document.write('<s'+'cript type="text/javascript" src="http://www.ads.bearground.com/show.php?z=16&j=1&code='+new Date().getTime()+'"></s'+'cript>');
    // --></script>
    <!--<noscript>
    <iframe src="http://www.ads.bearground.com/show.php?z=16" width="940" height="144" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>
    </noscript>-->
    <!--</div>-->
    <div id="main">
    <div id="main-in">
    <div id="main-out" class="clearfix">
    <div class="welcome">
    <table width="888px"><tr>
    <td align="left" style=" width:296px;padding-left:20px;">
    Welcome to <strong>BearGround.com</strong>
    </td>
    <td  align="center" style="width:296px;">
    <a href="join.php?set_language=spain" target="_top"><img src="img/SPAN0002_S.jpg" alt="Espa&ntilde;ol" width="30" height="20"></a>
    <a href="join.php?set_language=english" target="_top"><img src="img/UNKG0002_S.jpg" alt="English" width="30" height="20"></a>
    <a href="join.php?set_language=french" target="_top"><img src="img/FRAN0004_S.jpg" alt="Fran&ccedil;ais" width="30" height="20"></a>
    </td>
    <td align="right" style="width:296px;padding-right:20px;" id="menu_top_right">
    <a href="./index.php">Join Now!</a>
     | 
    <a href="./index.php">Login</a>
    </td>
    </tr></table>
    </div>
    <div class="menu">
    <ul>
    <li><a href="./home.php">HOME</a></li>
    <li><a href="./users_online.php">ONLINE NOW!</a></li>
    <li><a href="./search.php">SEARCH</a></li>
    <li><a href="./gallery_index.php">PHOTO GALLERY</a></li>
    <li><a href="./videogallery_video_view.php">VIDEO GALLERY</a></li>
    <li><a href="./my_friends.php">FRIENDS</a></li>
    <li><a href="./mail.php">MAIL</a></li>
    <li><a href="./flashchat.php">CHAT ROOM</a></li>
    <li><a href="./blogs.php">BLOG</a></li>
    <li><a href="./forum.php">FORUM</a></li>
    <li><a href="./groups.php">GROUPS</a></li>
    <li><a href="./events_index.php">EVENTS</a></li>
    </ul>
    </div>
    <div class="personal-st">
    <ul>
    <li><img src="./_themes/main/the_bear/img/camera.png" style="behavior: url('./_server/design/pngbehavior.htc');" align="absmiddle" alt=""> <a href="./profile_photo.php" style="font-weight: normal">My Photos</a></li>
    <li><img src="./_themes/main/the_bear/img/appearance.png" style="behavior: url('./_server/design/pngbehavior.htc');" align="absmiddle" alt=""> <a href="./gallery_admin.php" style="font-weight: normal">Upload to Gallery</a></li>
    <li><img src="./_themes/main/the_bear/img/my_clips.png" style="behavior: url('./_server/design/pngbehavior.htc');" align="absmiddle" alt=""> <a href="./profile_video_edit.php" style="font-weight: normal">My Clips</a></li>
    <li><img src="./_themes/main/the_bear/img/multimedia_1.png" style="behavior: url('./_server/design/pngbehavior.htc');" align="absmiddle" alt=""> <a href="./profile_audio_edit.php" style="font-weight: normal">My Music</a></li>
    <li><img src="./_themes/main/the_bear/img/my_vids.png" style="behavior: url('./_server/design/pngbehavior.htc');" align="absmiddle" alt=""> <a href="./videogallery_myvideo_view.php" style="font-weight: normal">My Vids</a></li>
    <li><img src="./_themes/main/the_bear/img/txt2.png" style="behavior: url('./_server/design/pngbehavior.htc');" align="absmiddle" alt=""> <a href="./profile_blog.php" style="font-weight: normal">My Blog</a></li>
    <li><img src="./_themes/main/the_bear/img/access.png" style="behavior: url('./_server/design/pngbehavior.htc');" align="absmiddle" alt=""> <a href="./profile.php" style="font-weight: normal">Account</a></li>
    </ul>
    </div>
    <div id="main2">
    <div id="main-in2">
    <div id="main-out2">
    <div class="userinfo-c-wide">
    <div class="userinfo smallphoto clearfix">
    <style type="text/css">
    #join label{height: 18px; line-height: 18px; padding-right: 4px;}
    #join input{font-size: 13px; border: 1px solid #757B05; width: 130px;}
    #join #from, #join #iam{width: 180px; margin-top: 3px;}
    #join #month{width: 92px;}
    #join #month, #join #day, #join #year{margin-top: 3px;}
    </style>
    <script language="JavaScript" type="text/javascript">
    function onValidateJoinForm() {
    var form = document.forms['JoinForm'];
    if (!(validateRequiredField(form['join_handle'], 'Username'))) {
    return false;
    if (!(validateMinLength(form['join_handle'], 'Username','4'))) {
    return false;
    if (!(validateMaxLength(form['join_handle'], 'Username','20'))) {
    return false;
    if (!(validateAlphaNumeric(form['join_handle'], 'Username'))) {
    return false;
    if (!(validateRequiredField(form['join_handle'], 'Username'))) {
    return false;
    if (!(validateMinLength(form['join_handle'], 'Username','4'))) {
    return false;
    if (!(validateMaxLength(form['join_handle'], 'Username','20'))) {
    return false;
    if (!(validateAlphaNumeric(form['join_handle'], 'Username'))) {
    return false;
    if (!(validateRequiredField(form['join_password'], 'Password'))) {
    return false;
    if (!(validateMinLength(form['join_password'], 'Password','6'))) {
    return false;
    if (!(validateMaxLength(form['join_password'], 'Password','15'))) {
    return false;
    if (!(validateAlphaNumeric(form['join_password'], 'Password'))) {
    return false;
    if (!(validateRequiredField(form['join_password'], 'Password'))) {
    return false;
    if (!(validateMinLength(form['join_password'], 'Password','6'))) {
    return false;
    if (!(validateMaxLength(form['join_password'], 'Password','15'))) {
    return false;
    if (!(validateAlphaNumeric(form['join_password'], 'Password'))) {
    return false;
    if (!(validateNotTwoFields(form['join_password'],'Password',form['join_handle'],'Username'))) {
    return false;
    if (!(validateTwoFields(form['verify_password'],'Verify Password',form['join_password'],'Password'))) {
    return false;
    if (!(validateRequiredField(form['email'], 'Email Address'))) {
    return false;
    if (!(validateMaxLength(form['email'], 'Email Address','100'))) {
    return false;
    if (!(validateEmailField(form['email'], 'Email Address'))) {
    return false;
    if (!(validateRequiredField(form['verify_email'], 'Verify Email'))) {
    return false;
    if (!(validateMaxLength(form['verify_email'], 'Verify Email','100'))) {
    return false;
    if (!(validateEmailField(form['verify_email'], 'Verify Email'))) {
    return false;
    if (!(validateTwoFields(form['verify_email'],'Verify Email',form['email'],'Email Address'))) {
    return false;
    if (!(validateRequiredSelect(form['country'],'Country','-1'))) {
    return false;
    if (!(validateRequiredField(form['country'], 'Country', '-1'))) {
    return false;
    if (!(validateRequiredField(form['month'], 'Month'))) {
    return false;
    if (!(validateRequiredField(form['day'], 'Day'))) {
    return false;
    if (!(validateRequiredField(form['year'], 'Year'))) {
    return false;
    if (!(validateRequiredCheckbox(form['privacy_policy'],'','If you have read and agreed to the Terms and Conditions and the Privacy Policy, then please select the checkbox.'))) {
    return false;
    return true;
    function validateJoinForm() {
    blockSubmission = true;
    if (typeof beforeJoinFormValidation != 'undefined') {
    beforeJoinFormValidation();
    var validated = onValidateJoinForm();
    if (validated && (typeof uponSuccessfulJoinFormValidation != 'undefined')) {
    validated = uponSuccessfulJoinFormValidation();
    else if (!validated && (typeof uponUnsuccessfulJoinFormValidation != 'undefined')) {
    uponUnsuccessfulJoinFormValidation();
    if (!validated) {
    return validated;
    function submitJoinForm() {
    if (validateJoinForm()) document.JoinForm.submit();
    else return false;
    </script>
    <table width="100%"><tr><td width="35%" align="right" valign="top">
    <div  class="header_big" style="padding-bottom: 10px; padding-top: 100px; text-align: right;">Login</div>
    <form method="post" action="./join.php?cmd=login" id="login-f" class="clearfix">
    <div id="join">
    Please login or register.<br><br />
    <label for="username">Username:</label><input name="user" type="text" id="login" tabindex="1" /><br />
    <label for="password">Password:</label><input name="password" type="password" tabindex="2" /><br />
    </div><br />
    <input type="submit" value="Login" class="button" style="padding-left: 5px; padding-right: 5px; cursor: pointer; cursor: hand;" />
    <p><input name="remember" type="checkbox" id="remember" class="chk" value="1" type="checkbox"> <label for="remember">Remember me</label> | <a href="./forget_password.php?">Forgot password?</a></p>
    </form>
    </td><td width="20%"> 
    </td><td width="35%" align="right" valign="top">
    <form name="JoinForm" method="post" action="./join.php" onsubmit="return validateJoinForm();">
    <div  class="header_big" style="padding-bottom: 10px; padding-top: 100px; text-align: right;">Join Now!</div>
    <div id="join">
    <br />
    <label for="username">Username:</label><input type="text" id="username" name="join_handle" value="" /><br />
    <label for="create-password">Create Password:</label><input type="password" id="create-password" name="join_password" value="" /><br />
    <label for="re-password">Re-enter Password:</label><input type="password" id="re-password" name="verify_password" value="" /><br />
    <label for="email">E-mail:</label><input type="text" id="email" name="email" value="" /><br />
    <label for="re-email">Re-enter E-mail:</label><input type="text" id="re-email" name="verify_email" value="" /><br />
    <label for="from">From:</label>
    <select name="country" id="from">
    <option value="-1" selected="selected"></option>
    <option value="1" selected="selected">United States</option>
    <option value="2">Canada</option>
    <option value="3">United Kingdom</option>
    <option value="-1"></option>
    <option value="5">Afghanistan</option>
    <option value="6">Albania</option>
    <option value="7">Algeria</option>
    <option value="8">Andorra</option>
    <option value="9">Angola</option>
    <option value="10">Anguilla</option>
    <option value="11">Antigua and Barbuda</option>
    <option value="12">Argentina</option>
    <option value="13">Armenia</option>
    <option value="14">Aruba</option>
    <option value="15">Australia</option>
    <option value="16">Austria</option>
    <option value="17">Azerbaijan</option>
    <option value="18">Bahamas</option>
    <option value="19">Bahrain</option>
    <option value="20">Bangladesh</option>
    <option value="21">Barbados</option>
    <option value="22">Belarus</option>
    <option value="23">Belgium</option>
    <option value="24">Belize</option>
    <option value="25">Benin</option>
    <option value="26">Bermuda</option>
    <option value="27">Bhutan</option>
    <option value="28">Bolivia</option>
    <option value="29">Bosnia and Herzegovina</option>
    <option value="30">Botswana</option>
    <option value="31">Brazil</option>
    <option value="32">British Virgin Islands</option>
    <option value="33">Brunei</option>
    <option value="34">Bulgaria</option>
    <option value="35">Burkina Faso</option>
    <option value="36">Burundi</option>
    <option value="37">Cambodia</option>
    <option value="38">Cameroon</option>
    <option value="2">Canada</option>
    <option value="39">Cape Verde</option>
    <option value="40">Cayman Islands</option>
    <option value="41">Central African Republic</option>
    <option value="42">Chad</option>
    <option value="43">Chile</option>
    <option value="44">China</option>
    <option value="45">Christmas Island</option>
    <option value="46">Cocos (Keeling) Islands</option>
    <option value="47">Colombia</option>
    <option value="48">Comoros</option>
    <option value="49">Congo</option>
    <option value="50">Congo, Democratic Republic</option>
    <option value="51">Cook Islands</option>
    <option value="52">Costa Rica</option>
    <option value="53">Cote D'Ivoire</option>
    <option value="54">Croatia</option>
    <option value="55">Cuba</option>
    <option value="56">Cyprus</option>
    <option value="57">Czech Republic</option>
    <option value="58">Denmark</option>
    <option value="59">Djibouti</option>
    <option value="60">Dominica</option>
    <option value="61">Dominican Republic</option>
    <option value="62">Ecuador</option>
    <option value="63">Egypt</option>
    <option value="64">El Salvador</option>
    <option value="65">Equatorial Guinea</option>
    <option value="66">Eritrea</option>
    <option value="67">Estonia</option>
    <option value="68">Ethiopia</option>
    <option value="69">Falkland Islands</option>
    <option value="70">Faroe Islands</option>
    <option value="71">Fiji</option>
    <option value="72">Finland</option>
    <option value="73">France</option>
    <option value="74">French Guiana</option>
    <option value="75">French Polynesia</option>
    <option value="76">French S. &amp; Antarctic Lands</option>
    <option value="77">Gabon</option>
    <option value="78">Gambia, The</option>
    <option value="79">Gaza Strip</option>
    <option value="80">Georgia</option>
    <option value="81">Germany</option>
    <option value="82">Ghana</option>
    <option value="83">Gibraltar</option>
    <option value="84">Greece</option>
    <option value="85">Greenland</option>
    <option value="86">Grenada</option>
    <option value="87">Guadeloupe</option>
    <option value="88">Guatemala</option>
    <option value="89">Guinea</option>
    <option value="90">Guinea-Bissau</option>
    <option value="91">Guyana</option>
    <option value="92">Haiti</option>
    <option value="93">Honduras</option>
    <option value="94">Hong Kong</option>
    <option value="95">Hungary</option>
    <option value="96">Iceland</option>
    <option value="97">India</option>
    <option value="98">Indonesia</option>
    <option value="99">Iran</option>
    <option value="100">Iraq</option>
    <option value="101">Ireland</option>
    <option value="102">Israel</option>
    <option value="103">Italy</option>
    <option value="104">Jamaica</option>
    <option value="105">Japan</option>
    <option value="106">Jordan</option>
    <option value="107">Kazakhstan</option>
    <option value="108">Kenya</option>
    <option value="109">Kiribati</option>
    <option value="110">Kuwait</option>
    <option value="111">Kyrgyzstan</option>
    <option value="112">Laos</option>
    <option value="113">Latvia</option>
    <option value="114">Lebanon</option>
    <option value="115">Lesotho</option>
    <option value="116">Liberia</option>
    <option value="117">Liechtenstein</option>
    <option value="118">Lithuania</option>
    <option value="119">Luxembourg</option>
    <option value="120">Macau</option>
    <option value="121">Macedonia</option>
    <option value="122">Madagascar</option>
    <option value="123">Malawi</option>
    <option value="124">Malaysia</option>
    <option value="125">Maldives</option>
    <option value="126">Mali</option>
    <option value="127">Malta</option>
    <option value="128">Marshall Islands</option>
    <option value="129">Martinique</option>
    <option value="130">Mauritania</option>
    <option value="131">Mauritius</option>
    <option value="132">Mayotte</option>
    <option value="133">Mexico</option>
    <option value="134">Micronesia, Fed. States</option>
    <option value="135">Moldova</option>
    <option value="136">Monaco</option>
    <option value="137">Mongolia</option>
    <option value="138">Montserrat</option>
    <option value="139">Morocco</option>
    <option value="140">Mozambique</option>
    <option value="141">Namibia</option>
    <option value="142">Nauru</option>
    <option value="143">Nepal</option>
    <option value="144">Netherlands</option>
    <option value="145">Netherlands Antilles</option>
    <option value="146">New Caledonia</option>
    <option value="147">New Zealand</option>
    <option value="148">Nicaragua</option>
    <option value="149">Niger</option>
    <option value="150">Nigeria</option>
    <option value="151">Niue</option>
    <option value="152">Norfolk Island</option>
    <option value="153">North Korea</option>
    <option value="154">Norway</option>
    <option value="155">Oman</option>
    <option value="156">Pakistan</option>
    <option value="157">Palau</option>
    <option value="158">Panama</option>
    <option value="159">Papua New Guinea</option>
    <option value="160">Paraguay</option>
    <option value="161">Peru</option>
    <option value="162">Philippines</option>
    <option value="163">Pitcairn Islands</option>
    <option value="164">Poland</option>
    <option value="165">Portugal</option>
    <option value="166">Puerto Rico</option>
    <option value="167">Qatar</option>
    <option value="168">Reunion</option>
    <option value="169">Romania</option>
    <option value="170">Russia</option>
    <option value="171">Rwanda</option>
    <option value="172">S. Georgia &amp; Sandwich Islands</option>
    <option value="173">Saint Kitts and Nevis</option>
    <option value="174">Saint Lucia</option>
    <option value="175">Samoa</option>
    <option value="176">San Marino</option>
    <option value="177">Sao Tome and Principe</option>
    <option value="178">Saudi Arabia</option>
    <option value="179">Senegal</option>
    <option value="180">Serbia</option>
    <option value="181">Seychelles</option>
    <option value="182">Sierra Leone</option>
    <option value="183">Singapore</option>
    <option value="184">Slovakia</option>
    <option value="185">Slovenia</option>
    <option value="186">Solomon Islands</option>
    <option value="187">Somalia</option>
    <option value="188">South Africa</option>
    <option value="189">South Korea</option>
    <option value="190">Spain</option>
    <option value="191">Sri Lanka</option>
    <option value="192">St. Vincent &amp; The Grenadines</option>
    <option value="193">Sudan</option>
    <option value="194">Suriname</option>
    <option value="195">Svalbard</option>
    <option value="196">Swaziland</option>
    <option value="197">Sweden</option>
    <option value="198">Switzerland</option>
    <option value="199">Syria</option>
    <option value="200">Taiwan</option>
    <option value="201">Tajikistan</option>
    <option value="202">Tanzania</option>
    <option value="203">Thailand</option>
    <option value="204">Togo</option>
    <option value="205">Tokelau</option>
    <option value="206">Tonga</option>
    <option value="207">Trinidad and Tobago</option>
    <option value="208">Tunisia</option>
    <option value="209">Turkey</option>
    <option value="210">Turkmenistan</option>
    <option value="211">Turks and Caicos Islands</option>
    <option value="212">Tuvalu</option>
    <option value="213">Uganda</option>
    <option value="214">Ukraine</option>
    <option value="215">United Arab Emirates</option>
    <option value="3">United Kingdom</option>
    <option value="1">United States</option>
    <option value="216">Uruguay</option>
    <option value="217">Uzbekistan</option>
    <option value="218">Vanuatu</option>
    <option value="219">Vatican City</option>
    <option value="220">Venezuela</option>
    <option value="221">Vietnam</option>
    <option value="222">Virgin Islands</option>
    <option value="223">Wallis and Futuna</option>
    <option value="224">Western Sahara</option>
    <option value="225">Yemen</option>
    <option value="226">Zambia</option>
    <option value="227">Zimbabwe</option>
    </select>
    <br />
    <label for="month">Born on:</label>
    <select name="month" id="month" onchange="updateDay('month','JoinForm','year','month','day')">
    <option value="1" selected="selected">January</option>
    <option value="2">February</option>
    <option value="3">March</option>
    <option value="4">April</option>
    <option value="5">May</option>
    <option value="6">June</option>
    <option value="7">July</option>
    <option value="8">August</option>
    <option value="9">September</option>
    <option value="10">October</option>
    <option value="11">November</option>
    <option value="12">December</option>
    </select>
    <select name="day" id="day">
    <option value="1" selected="selected">1</option>
    <option value="2">2</option>
    <option value="3">3</option>
    <option value="4">4</option>
    <option value="5">5</option>
    <option value="6">6</option>
    <option value="7">7</option>
    <option value="8">8</option>
    <option value="9">9</option>
    <option value="10">10</option>
    <option value="11">11</option>
    <option value="12">12</option>
    <option value="13">13</option>
    <option value="14">14</option>
    <option value="15">15</option>
    <option value="16">16</option>
    <option value="17">17</option>
    <option value="18">18</option>
    <option value="19">19</option>
    <option value="20">20</option>
    <option value="21">21</option>
    <option value="22">22</option>
    <option value="23">23</option>
    <option value="24">24</option>
    <option value="25">25</option>
    <option value="26">26</option>
    <option value="27">27</option>
    <option value="28">28</option>
    <option value="29">29</option>
    <option value="30">30</option>
    <option value="31">31</option>
    </select>
    <select name="year" id="year" onchange="updateDay('year','JoinForm','year','month','day')">
    <option value="1912" selected="selected">1912</option>
    <option value="1913">1913</option>
    <option value="1914">1914</option>
    <option value="1915">1915</option>
    <option value="1916">1916</option>
    <option value="1917">1917</option>
    <option value="1918">1918</option>
    <option value="1919">1919</option>
    <option value="1920">1920</option>
    <option value="1921">1921</option>
    <option value="1922">1922</option>
    <option value="1923">1923</option>
    <option value="1924">1924</option>
    <option value="1925">1925</option>
    <option value="1926">1926</option>
    <option value="1927">1927</option>
    <option value="1928">1928</option>
    <option value="1929">1929</option>
    <option value="1930">1930</option>
    <option value="1931">1931</option>
    <option value="1932">1932</option>
    <option value="1933">1933</option>
    <option value="1934">1934</option>
    <option value="1935">1935</option>
    <option value="1936">1936</option>
    <option value="1937">1937</option>
    <option value="1938">1938</option>
    <option value="1939">1939</option>
    <option value="1940">1940</option>
    <option value="1941">1941</option>
    <option value="1942">1942</option>
    <option value="1943">1943</option>
    <option value="1944">1944</option>
    <option value="1945">1945</option>
    <option value="1946">1946</option>
    <option value="1947">1947</option>
    <option value="1948">1948</option>
    <option value="1949">1949</option>
    <option value="1950">1950</option>
    <option value="1951">1951</option>
    <option value="1952">1952</option>
    <option value="1953">1953</option>
    <option value="1954">1954</option>
    <option value="1955">1955</option>
    <option value="1956">1956</option>
    <option value="1957">1957</option>
    <option value="1958">1958</option>
    <option value="1959">1959</option>
    <option value="1960">1960</option>
    <option value="1961">1961</option>
    <option value="1962">1962</option>
    <option value="1963">1963</option>
    <option value="1964">1964</option>
    <option value="1965">1965</option>
    <option value="1966">1966</option>
    <option value="1967">1967</option>
    <option value="1968">1968</option>
    <option value="1969">1969</option>
    <option value="1970">1970</option>
    <option value="1971">1971</option>
    <option value="1972">1972</option>
    <option value="1973">1973</option>
    <option value="1974">1974</option>
    <option value="1975">1975</option>
    <option value="1976">1976</option>
    <option value="1977">1977</option>
    <option value="1978">1978</option>
    <option value="1979">1979</option>
    <option value="1980">1980</option>
    <option value="1981">1981</option>
    <option value="1982">1982</option>
    <option value="1983">1983</option>
    <option value="1984">1984</option>
    <option value="1985">1985</option>
    <option value="1986">1986</option>
    <option value="1987">1987</option>
    <option value="1988">1988</option>
    <option value="1989">1989</option>
    <option value="1990">1990</option>
    <option value="1991">1991</option>
    <option value="1992">1992</option>
    <option value="1993">1993</option>
    <option value="1994">1994</option>
    </select>
    <br />
    </div>
    <br />
    <input type="button" value="Join Now - Free!" onclick="submitJoinForm();" class="button" style=" padding-left: 5px; padding-right: 5px; cursor: pointer; cursor: hand;" />
    <div id="terms"><input name="privacy_policy" type="checkbox" value="true" id="agree" checked> <label for="agree"> I&#39;ve read and agree to the <a href="javascript:winpop('./_themes/main/the_bear/popup/term_cond.html','960','600','yes');">Terms & Conditions</a> and <a href="javascript:winpop('./_themes/main/the_bear/popup/priv_policy.html','960','600','yes');">Privacy Policy</a></label></div>
    </form>
    </td></tr></table>
    </div>
    <div class="userinfo-links-wide"></div>
    </div></div>
    </div></div>
    </div>
    </div>
    </div>
    <div id="shadow"></div>
    <div id="footer">
    <p>
    <a href="./news.php?view=1" title="How it works">How it works</a> |
    <a href="./help.php" title="Help">Help</a> |
    <a href="./news.php?view=2" title="About us">About us</a> |
    <a href="./partner/" title="Affiliates">Affiliates</a> |
    <a href="./news.php?view=3" title="Testimonials">Testimonials</a> |
    <a href="./news.php" title="News">News</a> |
    <a href="./contact.php" title="Contact us">Contact us</a>
    </p>
    <p class="abledating"><font color="#ff7500">2010 &copy Copyright by <!--Online contacts at --> <a href="./" title="BearGround.com">BearGround.com</a></a>. All rights reserved.</font></p>
    </div>
    </div>
    <div id="xajax_im"></div>
    <script>
    try { initAjax(); }
    catch(e) {};
    </script>
    </body>
    </html>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • How do i change the HTML file names for existing index

    Hi,
    How do i change my existing HTML file names for indexes. The Html file name is disabled when we click on properties.
    Ex:   Index Keywork : Architecture
            Old HTML Page/URL =: Architecture.htm
    I want to change  Old HTML Page/URL =: Architecture.htm to architecture_new.htm
    Please find the screenshot attached.

    That's because you are looking at the Properties and that is not how you create index entries.
    Highlight the Index keyword ("Paste" in this example). It shows below what is already linked. If you delete that, the keyword will be displayed in bold to show no keyword is attached. You can add further keywords by dragging them from the Topic List.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • TextEdit won't let me rename duplicated .html files as a .html file (manually typing it) either in the Finder or the Title Bar by selecting Rename or Save.

    TextEdit won't let me rename duplicated .html files as a .html file (manually typing it) either in the Finder or the Title Bar by selecting Rename or Save.
    I am only able to rename a duplicated .html file right after I create it, because the file name gets highlighted in the Title Bar, but after that there is no recourse. I I can Rename or Save the file if I want to just save it as a .txt, but I need it to be .html. I guess I can manually change the file later, but it's really annoying.

    I remember long ago a similar issue with TextEdit, but I can't remember if there was a solution or not.
    Do you have it set to Display HTML files as HTML code and also deselect "When Saving a File: Add ".txt" extension to plain text files"

  • Opening a HTML file through GUI

    Hi guys I am new to java and HTML and now I need to open a HTML file which is saved on disk and search for a word my code is as shown below.......
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.text.*;
    public class Test_Find extends JFrame {
        public Test_Find() {
            initComponents();
            setExtendedState(JFrame.MAXIMIZED_BOTH);
            textarea.setText(initialText);
            textarea.setCaretPosition(0);
            setVisible(true);
            textarea.requestFocusInWindow();
        private void initComponents() {
            scrollTextarea = new JScrollPane();
            textarea = new JTextArea();
            toolbar = new JToolBar();
            findB = new JButton();
            setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
            setTitle("Test Find");
            scrollTextarea.setViewportView(textarea);
            getContentPane().add(scrollTextarea, BorderLayout.CENTER);
            toolbar.setFloatable(false);
            findB.setText("Find");
            findB.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent evt) {
                    findBActionPerformed(evt);
            toolbar.add(findB);
            getContentPane().add(toolbar, BorderLayout.NORTH);
        private void findBActionPerformed(ActionEvent evt) {
            String input = JOptionPane.showInputDialog(
                    "Find what:", pattern);
            if(input==null){
                input="";
            pattern=input;
            doFind();
        private int doFind(){
            textarea.requestFocusInWindow();
            currentCaretPosition = textarea.getCaretPosition();
            text = textarea.getText();
            if(!pattern.equals("")){
                int pos=0;
                pos = text.toLowerCase().indexOf(pattern.toLowerCase(), currentCaretPosition);
                if(pos>-1){
                    scrollTextarea.getHorizontalScrollBar().setValue(0);
                    textarea.setCaretPosition(pos+pattern.length());
                    highlight(textarea, pattern);
                    return 1;//found
            }else{
                removeHighlights(textarea);
                return 0;//no pattern
            return -1;//not found
        // Creates highlights around all occurrences of pattern in textComp
        public void highlight(JTextComponent textComp, String pattern) {
            // First remove all old highlights
            removeHighlights(textComp);
            try {
                Highlighter hilite = textComp.getHighlighter();
                Document doc = textComp.getDocument();
                String text = doc.getText(0, doc.getLength());
                int pos = 0;
                // Search for pattern
                while ((pos = text.toLowerCase().indexOf(pattern.toLowerCase(), pos)) >= 0) {
                    // Add highlight around pattern using private painter
                    hilite.addHighlight(pos, pos+pattern.length(), textPainter);
                    pos += pattern.length();
            } catch (BadLocationException e) {
        // Removes only our private highlights
        public void removeHighlights(JTextComponent textComp) {
            Highlighter hilite = textComp.getHighlighter();
            Highlighter.Highlight[] hilites = hilite.getHighlights();
            for (int i=0; i<hilites.length; i++) {
                if (hilites.getPainter() instanceof TextPainter) {
    hilite.removeHighlight(hilites[i]);
    // An instance of the private subclass of the default highlight painter
    private Highlighter.HighlightPainter textPainter = new TextPainter(Color.yellow);
    // A private subclass of the default highlight painter
    class TextPainter extends DefaultHighlighter.DefaultHighlightPainter {
    public TextPainter(Color color) {
    super(color);
    public static void main(String args[]) {
    new Test_Find();
    private String input, pattern, text;
    private int currentCaretPosition;
    private JButton findB;
    private JScrollPane scrollTextarea;
    private JTextArea textarea;
    private JToolBar toolbar;
    private String initialText =
    "Swing JTable and JScrollPane Problem\n" +
    " tlloreti 4 Jul 5, 2005 4:15 PM\n" +
    "by Tom.Sanders \u00bb \n" +
    "Swing CTRL-A (select all) ignored in applet\n" +
    " ilmbeachgirl 4 Jul 5, 2005 4:10 PM\n" +
    "by ilmbeachgirl \u00bb \n" +
    "Swing drawing problem\n" +
    " gnosnahz 0 Jul 5, 2005 4:09 PM\n" +
    "by gnosnahz \u00bb \n" +
    "Java Event Handling events effecting panels in multiple tabs\n" +
    " sean_hagen 1 Jul 5, 2005 4:06 PM\n" +
    "by es5f2000 \u00bb \n" +
    "Swing Searching text in files & highlighting that text\n" +
    " sketty 1 Jul 5, 2005 3:57 PM\n" +
    "by camickr \u00bb \n" +
    "Swing JTextField displaying prtially its contents\n" +
    " SreeJay 1 Jul 5, 2005 3:55 PM\n" +
    "by camickr \u00bb \n" +
    "Swing how to get BufferedImage of a JPanel\n" +
    " praveen.Arora 1 Jul 5, 2005 3:53 PM\n" +
    "by camickr \u00bb \n" +
    "Swing Creating a form from a xml schema..\n" +
    " zoltern 0 Jul 5, 2005 3:51 PM\n" +
    "by zoltern \u00bb \n" +
    "Swing Da Suckers: Java and Windows XP\n" +
    " [email protected] 1 Jul 5, 2005 3:42 PM\n" +
    "by [email protected] \u00bb \n" +
    "Java 2D Rescaling using JAI\n" +
    " G-Rehuku 0 Jul 5, 2005 3:30 PM\n" +
    "by G-Rehuku \u00bb \n" +
    "Swing how to get Page Preview of multiple page JPanel\n" +
    " Sonu.Arora 0 Jul 5, 2005 2:20 PM\n" +
    "by Sonu.Arora \u00bb \n" +
    "Swing IDE for Swing Development\n" +
    " JavaEnthusiastt 8 Jul 5, 2005 2:17 PM\n" +
    "by uhrand \u00bb \n" +
    "Java 2D Can't connect to X11 window server\n" +
    " kusigubi 0 Jul 5, 2005 2:06 PM\n" +
    "by kusigubi \u00bb \n";
    }Since I am new to the field requesting the kind quick help by java experts here to help me change the code so that I would be able to search a web apge saved on disk and search and highlight a word in that page ....
    Thanks in advance........
    Looking forward for your kind suggestions.......                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Since I am new to the field requesting the kind quick help by java experts here to help me change the code so that I would be able to search a web apge saved on disk and search and highlight a word in that page ....
    Thanks in advance........
    Looking forward for your kind suggestions......1) Did you write that code? If yes, proceed to 2). If no, I charge 150 euros/hr. Let me know when you want me to start.
    2) Post the code for a program that opens a text file with the following in it:
    hello world
    and prints the contents out using System.out.println().
    3) Modify the program in 2) to determine if the file contains the word "yes". Post the code.
    4) An html file is no different than the text file in 2).

  • Edit HTML File using java

    Hi....
    I have a report in HTML format and a list of thresholds in txt format.
    Now, using java how can I:
    1. Compare the values in the report with the thresholds
    2. Edit the report such that values over the thresholds are highlighted in say, red colour.
    I am new to Java programming, so java jargons won't be of much help. I read about jeditorpane but it's primary use is to display html file(that is what i inferred). Is their a way in which i could accomplish the above using jeditorpane??....how do i do the comparison part??

    srgsoroka wrote:
    Did you check http://jtidy.sourceforge.net/.
    From site:
    "JTidy is a Java port of HTML Tidy, a HTML syntax checker and pretty printer. Like its non-Java cousin, JTidy can be used as a tool for cleaning up malformed and faulty HTML. In addition, JTidy provides a DOM interface to the document that is being processed, which effectively makes you able to use JTidy as a DOM parser for real-world HTML."Yes, I did. But I don't need a syntax checker.The syntax is alright. I want to modify the HTML code after comparison with a txt document.As far as DOM parser is concerned, I googled the term but didn't understand much of it..:-(...If you could explain it in layman's terms........

  • New html tag highlight color

    Can someone tell me the name of the css selector that is the new html tag highlighting that Edge Code just released.  I need to adjust my theme css file because the new pale blue highlighting makes it difficult to read the tag (ie: divs, script, li, ul's, ect..). I assume it's new because it was not highlighting the html tags before I updated.

    I dont get an index.html link when I paste http://localhost:9235/ into chrome.  I just get a link to (/devtools/devtools.html?ws=localhost:9235/devtools/page/12c31149cd31cce235fc4998180602cd) which opens a blank html page with nothing inside the body tag.
    I changed the .cm-tag css property but that doesn't actually change the highlight color, it just changes the default non selected state. The tag in which I'm trying to overwrite has a hex code of #cfead6 which I can find no reference to in the program files or any theme css files. The image below is the highlight that occurrs when the cursor is inside the html tag.

  • Creating initial HTML file

    I'm doing the tutorial, and the video shows a dialog box popping up where you can create the HTML file, but no such dialog box pops up. How should I proceed? It's quite frustrating to be stuck on the second step of a long process.

    Hi there,
    Are you referring to the Welcome Screen for Dreamweaver that shows sections like Open Recent Item, Create New and Top Features? If so, you can do 1 of the following:
    1. Select File > New > HTML and click the Create button to create a new HTML page.
    2. Open the Preferences screen by selecting the Dreamweaver menu, then Preferences. Then, you can click the Show Welcome Screen checkbox to show the Welcome Screen highlighted in the video.
    I hope this helps, if I've missed your point, please let me know.
    Cheers,
    Maile

  • Assigning a String Value to the value attribute of html:file

    Hi,
    we facing a problem while assigning a value to the VALUE attribute of file tag
    <html:file property="fileupload" size='25' value="sample.xls" onchange="callsheet()" />
    can anyone help me out plzzz,

    Two points -
    1) Java is not Javascript or HTML; you would do better to find a more appropriate forum.
    2) When you take this to a better forum, you need to describe the problem.

  • How can I edit an html file in Firefox using View Source?

    I have created an html webpage and saved it to my pc. I can't edit the html file in firefox when I right click on the page and select "View Source". I can view the code but I can't edit it. I can do this in IE9.
    I thought I was able to do this before in Firefox.
    Did my settings change somewhere that I can no longer do this?
    Do I have to have something checked in the Web Developer extensions for it to work?
    I'm using Firefox 24.0
    Thank you for any help with this. :)

    The View Source window in Firefox cannot be used to change computer codes. Nor can the Web Developer tools.
    Sorry for any inconvenience.
    I suggest using Programmer's Notepad.

  • Relative path for HTML file

    Hi ,
    This is my requirement. In the ESS Personal information overview page, I can add a HTML file to the additional information section.
    I have created a HTML file by creating a web module and enterprise application and deployed the same through NWDI.
    I declare a resource wher ei mention the path. Here i specifed the complete path of the html file ... like
    http://hostname:portname/addinfo/addinfo.html.  Which i know is a wrong thing to do since when i move the html filel to the production system it will still be accessing the html file in the dev system.
    How do i give the relative path here so that the html file accessed is from the production system when we  go-live.
    Please suggest.
    regards
    sam

    Hi,
    One simpler solution is to use an AppIntegrator iView, as explained in the weblog <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2786">Integrating your Web Front-ends into the SAP Enterprise Portal using the Application Integrator</a>. It worked well for us.
    You can remove the user authentication part in the portalapp.xml if you don't need it.
    Regards,
    Martin

  • How to generate & publish  webhelp html files in different folder than default folder

    Hi All,
    I am new to robo help. I have a requirement to generate & publish webhelp html files in a different folder than default folder.
    Could anyone please tell me the steps to change the folder
    Thanks
    Rashmi

    You change the generate folder and filename in the first field on the first page of the wizard. It must be a folder on your hard disk.
    You change the publish folder in the last page of the wizard. Anywhere you like.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Importing/adding html files with bookmarks to project/TOC

    Overview:
    I've been importing some old html files that have a massive number of bookmarks/anchors in them (few hundred html 'pages' some of them mini help document libraries) in an effort to move the manuals into RH format. Using RH11
    Problem:
    when I import them all the bookmarks are showing up under each topic page. Second, when I add a folder into the TOC or auto generate a TOC it pulls each bookmark as a page (see screen shot). Any way I can get around this issue? I can manually add (drag/drop) the 'updates' page here into the TOC and it doesn't pull the bookmarks as pages. However i'm interested in knowing if I can simply not import the bookmarks or exclude them from populating as pages in the TOC. This seems to be new to RH11 (i've used RH9 without this issue in the past, on a similar project).
    System;
    RH11
    Office 2013
    SharePoint 2010
    Thanks

    Hi there
    Note that when you choose to auto-generate a TOC, you have a choice as to whether to create links to bookmarks. Look at the dialog below:
    My guess is that in the older version this option wasn't enabled when you auto created a TOC and you really didn't pay attention to the way it was set in the new version.
    Cheers... Rick

  • Help needed  while exporting crystal reports to HTML file format using java

    Help needed  while exporting crystal reports to HTML file format using java api(not using crystalviewer).i want to download the
    html file of the report
    thanks

    the ReportExportFormat class does not have HTML format, it has got to be XML. Export to HTML is available from CR Designer only.
    Edited by: Aasavari Bhave on Jan 24, 2012 11:37 AM

  • HTML file is not being shown properly in the JEditorPane

    Hi,
    I am using JEditorPane to display an HTML file from the local disk. This HTML file contains the html tables. Now when this file is getting displayed in the JEditorPane, one top row grid is not being displayed in the editor pane. content of the row is there...but the column grid is missing. All other rows and columns are being shown but the first row-column grid which contains the heading for column.
    Also when I m printing the content of this JEditorPane using Java Print API then no grid is being printed on the paper. content is coming properly but no table grids. when i have taken the print out of the original html file from the browser then table grids are being printed out properly.
    Please do help me out in showing the HTML file in the JEditorPane properly and printing the same.
    Many Thanks,
    gshankar

    Hi,
    JEditorPane renders HTML with many limitations.
    You can use JDIC for the same. refer: jdic.dev.java.net
    But JDIC does not work on windows 98.
    Anand

Maybe you are looking for

  • Songs appear in grey on itunes screen

    When I connect my ipod to the computer and go to iTunes I can see my songs but they are grey and not black. I can't click on any of the songs. I am trying to take the songs off of my ipod and put them back in my library in iTunes. I accidently erased

  • Optical Audio Is Not Working with Onkyo Receiver TX-SR501

    Hello, I can't seem to make the optical audio from Apple TV work with my Onkyo Receiver TX-SR501. The Onkyo has 2 optical audio lines in in the back. When I hit the "digital input" button on the front of receiver, I can select from OPT1, OPT2, or COA

  • I can't play the supported formats

    Hi all, I am using on jmf to play audio and video. Unfortunately, I am not able to play the supported formats e.g .mpg and .avi. In the case of .avi, it can't show the video but I can hear the audio. please help me anyone with the same problem solved

  • Basic jdbc program to connect to access

    hi , Please some one help me to connect to access databse.

  • Warehouse Builder Version

    Hi We are using currently the Oracle Warehouse builder version OWB_902560. I would like to know about the latest version of warehousebuilder from oracle. Because I am going to implement this at client side. Can anyone clairfy this one.. Thanks Narasi