Inserting Image on a HTML page through servlet

I want to insert an image on a HTML page which will be generated by a servlet.For that I have written the <IMG SRC>tag.But my doubt is where to store the image(i.e in which directory of the web server) I should store the Image.I am using JavaWebServer2.0.
please help

You can put your images in public_html directory.

Similar Messages

  • How can I display the HTML page from servlet which is called by an applet

    How can I display the HTML page from servlet which is called by an
    applet using the doPost method. If I print the response i can able to see the html document. How I can display it in the browser.
    I am calling my struts action class from the applet. I want to show the response in the same browser.
    Code samples will be appreciated.

    hi
    I got one way for this .
    call a javascript in showDocument() to submit the form

  • How to display an image on the HTML page by using applet

    Dear friends,
    I am now writing an java applet, I want to display an image on the HTML page, and tried the following commands:
    {color:#ff00ff}{color:#000000}Image map; //put in the class definition
    map=getImage(getCodeBase(),"hhh.gif"); //put in the function of init()
    g.drawImage(map,0,300,this); //put in the function of paint(){color}
    {color}
    However, when I run it, the image wasn't displayed at all.
    I hope who guys ever come across this problem could help me to solve it. Thank you in advance!
    Hawaii

    Hi,
    I am no expert on Images
    but
    from personal exp.
    are you sure that map actually contains the image?
    try using
    ImageIcon ii = ImageIcon(String name);
    map = ii.getImage();I saw a tutorial on images i think on sun
    where they use ImageIcon to load the image

  • How To Call HTML Page Through Java Swing Page  ???....

    Hi All ;
    Please Can You Tell Me How To Call HTML Page Through Java Swing Page ....
    Regards ;

    Hi,
    you can use HTML fragments on a panel.
    http://java.sun.com/docs/books/tutorial/uiswing/components/html.html
    However, to integrate a browser you need 3rd party software like IceBrowser
    If you Google for: HTML Swing
    then you find many more hints
    Frank

  • How to call HTML page through JSP ?

    i want to know Hw to call Automaticly a HTML page through JSP.
    example :-
    have u seen yahoo login wen u put your ID & pass & Clock on login button it will chack ID & pass in the database & if it is correct then It will call A Mail Home Page.
    that's same i want to do.
    i have a jsp page which chacks the userID & Pass & call the first.html page
    but i dont know how to call html page automaticly.
    Any one can help me
    what i think is this
    tell me is it right or not
    suppose i have made a variable
    String add = "first.html"
    after chacking userID & pass
    if(idpass == true)
    add;
    if(idpass == false)
    erre;
    it will work or not pl tell me

    If you do the redirect with javascript, the user cannot resubmit his login when he presses the refresh button. When he does press refresh, he only refreshes the redirect, not the form post that was before it. When he presses back the redirect will also kick him back in stead of going back to the login page. A simple javascript redirect page would look like this:
    <html>
    <body onload="document.location.href='myhtmlpage.htm';">
    </body>
    </html>But that is only if you care about resubmits of course.

  • Store html page with servlets

    we know its possible to generate a html page using servlets
    i would like to know using servlets is it possible to create a new html page and store this page in a desired location
    and acess it if its only needed

    Hi friend,
    I am chetan from India, I have developed the WebSite www.bhavishya.net. I am encountering a serious problem in writing into a text file. I am unable to configure the path of the text file. while using Linux i got it. but now i am using Windows Environment. The code is as follows. could u plese give the correct path ("<web-server-root>/httpdocs/file.txt")
    public String ewrite(String str)
    String err = "File updated";
    try
    Date d = new Date();
    BufferedWriter bwout = null;
    // for Web Server
    try
    //BufferedWriter out = new BufferedWriter(new FileWriter("/home/bhavishya/ErrorLog.txt", true)); // For Linux
    bwout = new BufferedWriter(new FileWriter("./bhavishya/logs/ErrorLog.txt", true));
    bwout.write(d.toLocaleString()+" : "+str+"\n");
    catch (RuntimeException e1) {err = e1.toString(); e1.printStackTrace();}
    System.out.println("ErrorLog - 21");
    bwout.close();
    catch (IOException e) { System.out.println(e); }
    return err;
    Regards,

  • Can I insert an html file as an image into an HTML page?

    The site I'm working on (www.ngospen.com) has PNGs for background art - 10 - 15 kb per image. As the site is intended for settings with low bandwidth, I'd like these background images to be as small as possible.
    When saving for the web, one of the options is Save As HTML file. When I open the file, the artwork appears the same as the PNG (no lost resolution), but it is a much smaller file size (1 - 2 KB).
    Is it possible to insert these HTML files into my HTML pages?
    Thanks!
    Ken D
    Creative Director
    Grateful Creative

    Are you meaning that you work with fireworks?
    If so the html and the images you export are flattened images (slices), you have to put those images directly into your html page.
    If you want to save the file (fireworks) as a flattened image you could also goto save as -> flattened png.
    If you save your image from fireworks just as png it contains the layer information etc. etc. from fireworks, that's why you should save them as flattened png, or just export the slices.
    http://www.dreamweaverfan.nl

  • 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

  • Inserting image in a wiki page

    Hi All,
    How to add image in a wiki page. I want to insert an image in between the contents of the wiki page.
    thanks & regards,
    Manoj

    Refer this -
    https://wiki.sdn.sap.com/wiki/renderer/notationhelp.action?section=images

  • Images in linked html pages

    I created a website with iweb '08. On one page I have text that is hyperlinked to a html file. The file has text and an image in it. In the finder on my computer disk drive the html file also has a folder with an image list file and the image files. When I publish it to mobile me, the folder with the image info does not copy. When I open the web page and click on the text the html page opens and the text is there but image is not. If I manually copy the image folder to my idisk web folder in the correct location, then open the web page and click on the text to link to the html file, the image appears and everything is normal.
    The question is why does the image file folder not copy to the web site when you publish and is there a work around other than manually copying the folder to the idisk??

    Welcome to the Apple Discussions. iWeb only uploads the particular file that is being linked to. I suggest you put the html file in the folder with the other files and adjust the links in it accordingly and upload that folder to your iDisk/Web/Sites folder. Then make the link in iWeb to be: http://homepage.mac.com/youraccount/foldername/file.html.
    OT

  • Help with inserting SWF file into .html page

    I created a photo gallery in Flash CS5.5, using the advanced photo gallery template. It works fine as a standalone SWF file but it's not displaying properly when I try and insert it into the Gallery page of my website.
    The thumbnails are showing as blank white boxes and the main image holder isn't showing at all, though the controls beneath it are showing. The SWF file and all the images are stored in site/images/gallery/ and my Gallery page is in the root. What's going on here? Can anyone help please?
    Thanks

    If you are storing any of your Flash assets in sub-folders and having problems... it's most likely because of pathing problems. For review:
    Pathing issues
    Almost always when it works on the local machine and not the server, it's a pathing problem.
    You can put your Flash related files in whatever folders you want, they do NOT have to be in the root, they do NOT all have to be in the same folder. But if you have a problem and if sticking them all in the root folder works, then you know that the issue was a pathing problem.
    Just remember that paths used in the .swf become relative to the Web page on which the .swf is placed, NOT it’s physical location.  So for example, if your .swf is in the flash/data folder and you use that .swf on a Web page in the root folder, you are in effect, removing that .swf from flash/data and putting it in root. So if the .swf is loading any related files (xml, images, video, etc), the path used inside the .swf to load the .xml file has to be relative to it's new location in root and then back down into flash/data. This is true even though when testing the .swf by itself, it can be inside flash/data and work just fine, since relative to it's location, the path is just fine, they are in the same folder. But if that same path is used when the .swf is placed on a page two folder levels up, the relative path has changed, the old "same folder" path will not work.
    In fact if you are placing the .swf on a web page in a different folder than the .swf is stored in, and that .swf calls external assets, then direct clicking and opening of the .swf in it’s folder should NOT work! That’s because the paths to the external assets should be relative to the Web page and not the physical location of the .swf.
    So just be sure that you use addresses relative to the final Web page locations (not physical file locations) and you can put the Flash related files in what ever folders you want.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com
    What it boils down to is that you need to path the Flash assets from the Web page that you place the main .swf on... NOT the physical location of the .swf
    Best wishes,
    Adninjastrator

  • I cannot get an applet to run in an html page through jdeveloper 10g

    I can run applets ok that i bring down from the web so i know the browser will support applets. But they will not work when i try to run a html page with an applet through jdeveloper. When I use the tool to create a page that will run an applet i get the message "This browser does not support Applets." appearing even though
    I know the pages does support applets. What am i doing wrong?
    cheers;
    a confused Owen

    Nope...I create an applet and then use the tool to create an html page i get the following page...
    no hint is given why it does not support applets
    cheers;
    Owen
    <HTML>
    <HEAD>
    <TITLE>
    Title
    </TITLE>
    </HEAD>
    <BODY>
    <APPLET CODE="applet.Applet2" ARCHIVE="adfshare.jar,bc4jmt.jar,collections.jar,bc4jct.jar,xmlparserv2.jar,jdev-cm.jar,ojmisc.jar,commons-el.jar,jsp-el-api.jar,oracle-el.jar,adfm.jar,adfui.jar,adfbinding.jar,bc4jtester.jar,help4.jar,share.jar,jewt4.jar,oracle_ice.jar,ojdbc14dms.jar,orai18n.jar,ocrs12.jar,ojdl.jar,dms.jar,bc4jdomorcl.jar,bc4jdatum.jar,cache.jar,xml.jar,jdev-rt.jar,runtime12.jar,bc4jui.jar,bigraphbean.jar,LW_PfjBean.jar,inspect4.jar,forms-1.0.4.jar,bc4jimdomains.jar,bc4jimjui.jar,ordim.jar,ordhttp.jar,jmf.jar" HEIGHT="200" WIDTH="200" ALIGN="bottom">This browser does not support Applets.</APPLET>
    </BODY>
    </HTML>

  • How to set a value to an  existing element in  html page using servlets

    i have created a session in my login page and i know how to retrieve it now the actual problem is i want to set the same value to a textbox in an html page........

    Use JSTL and/or EL.
    Assuming that you mean with "created a session" that you've created a bean and have set it as an attribute of the HttpSession, e.g.httpSession.setAttribute("someBean", someBean);then do for example using the JSTL c:out tag:<p><c:out value="${someBean.someProperty}" /></p>or, if you're using at least Servlet 2.4 API with JSP 2.0 API which allows EL in template text, then do for example:<p>${someBean.someProperty}</p>

  • Getting html page in servlet

    Hey
    I'm trying to get a html page to appear when i run my servlet. I've done it by copying the whole html page into the servlet and geting it to print it out on screen. I was wondering if anyone knew of an easier or better way of doing this. Is there some way of directing the servlet to a particular html page or something like that?
    Thanks

    You could also use jsp, which provides you with JAVA functionality, however, omitting the printing. Here's an example:
    <%@ page contentType="text/html; charset=ISO-8859-5" %>
    <%
         String name = request.getParameter("name");
    %>
    <html>
    <header>
    </header>
    <body>
    <p><%=name %></p>
    </body>
    </html>

  • How to call a html page from servlet

    i want to link a servlet to a html page, if i use requestdispatcher, it says XXX.html is not available, can anybody help

    Can you be more specific about what you're trying to do? Can't read your mind =). But if you mean you want to just have an static HTML page such as a header read by the servlet you can you the requestdispatcher include().
    Create a servlet to generate a page, and then map it as /getPage in the web.xml file. Then you can use:
    // header
    RequestDispatcher rd = ...getRequestDispatcher("/getPage");
    rs.include(req, res);
    // the rest of the servlet output
    // and you can do another one for the footer down here
    rd = ...getRequestDispatcher("/getPageFooter");
    rs.include(req, res);
    and it'll output the HTML in the servlet.
    Hope this helps

Maybe you are looking for