Background can not be setting!!!!!!

Hello,
im TagLibs I try to set the background of a page
the path of the gif
MyApp/images/myGif.gif
String  webDir;
public int doStartTag() ...
      this.webDir = pageContext.getServletContext().getRealPath("");
public String getPage()
        String l_Background = this.webDir+"/images/myGif.gif";
         StringBuffer buffer = new StringBuffer();
         buffer.append("<html>");
         buffer.append("<head>");
         buffer.append("<title></title>");
         buffer.append("</head>");
           buffer.append("<body background="+ l_Background +"+>");
             buffer.append("</body>");
         buffer.append("</html>");
         return buffer.toString();
     }but the background will not be setting
why ????

Have a look at the HTML produced by that code and you will see why. (Right-click on your browser when it displays the HTML and select something like "View Source".)
I don't think you need to do any of that. I suspect that<body background="images/myGif.gif">should work. Or perhaps ../images/myGif.gif.

Similar Messages

  • Logical component can not be set to &&

    Hi
    I will create a new Business Process.
    If I set the name of Business Step and the name of Logical Componets appaers the following message ..
    Logical component can not be set to /NSN/PROJECT VIEW
    Message no. SOLAR_EN204
    Diagnosis
    The parent business process of the current process step is 'production', therefore you can not set logical component to  /NSN/PROJECT VIEW, which is without logical system in the leading role.
    System Response
    You can not set the logical component /NSN/PROJECT VIEW
    Who has a solution for me ??
    Thanks for your help  )

    The only way I can see it working is if the direct-to-field mapping is writable and the 1:1 is set as read-only since otherwise, if the OBB reference is null, it means the objects PK is null. I'm not sure how it was even queried with a null OBB as it means its OBA.id is null as well. This worked in 904 as it did not correctly validate PKs in the uow - this was fixed through bug 4569755. If you feel this should not have been changed, please file it with support and the fix can be revised.
    The way I have mapped this in the past is that tab1 and tab2 are linked using the pks have same name option in the workbench (this makes tab2.id dependent on tab1.id). The OBA object then would have an id attribute that would represent the tab1.id and be writable, and if required, a 1:1 representing the OBB reference that was read only - allowing the OBB reference to be null if OBA entries can exist independently.
    Best Regards,
    Chris

  • I forgot my password for my phone 5 can not re set it

    i forgot my password on my iphone 5 and can not re set it heeeelp please

    http://support.apple.com/kb/HT1212

  • OVM-2020 Server pool master  can not be set to maintenance mode

    Hi Guys.
    I have 2 server in ha mode
    server 1 (10.99.99.161) with oracle Manager installed (server pool master, utility server, vm server)
    Server 2 (10.99.99.161) without Oracle Manager installed (utility server, vmserver)
    HA enable with server1 and server 2
    10.99.99.165 is the virtual server pool master
    1 San connected with server 1 and server 2.
    Without problem I can connect on https://10.99.99.165:4443/OVS without problem.
    All seems work, but :
    1 - I I try to set in maintenance mode the server 1, the VM Manager say me:
    OVM-2020 Server pool master (10.99.99.162) can not be set to maintenance mode, please use server pool master failover policy to change its role, then try again.
    What I shuld do ?
    2 - If I turn off the server 1 the server pool master is attribuite to server 2, but I'm unable to connect on https://10.99.99.165:4443/OVS webpage. It is correct, it is a bug, or I'm doing something wrong ? Must I upgrate something ?
    Many Thanks
    Luca

    user8857532 wrote:
    1 - I I try to set in maintenance mode the server 1, the VM Manager say me:
    What I shuld do ?You need to live migrate all your guests off the current Master server, then issue service ovs-agent stop on the command-line. This will cause the pool mastery to switch to another server. Once that's done, you can start the agent agent.
    2 - If I turn off the server 1 the server pool master is attribuite to server 2, but I'm unable to connect on https://10.99.99.165:4443/OVS webpage. It is correct, it is a bug, or I'm doing something wrong ? Must I upgrate something ?
    You need to ensure the VM that's running the Oracle VM Manager software is still running. Live Migrate it first (preferred option) and flag it HA-enabled so that it is automatically restarted in the case of a server failure.

  • Hi .. I can not re- set the questions of confidentiality in order to forget the answers in my account

    Hi .. I can not re- set the questions of confidentiality in order to forget the answers in my account

    If you aren't getting the reset link on the Password & Security section of your account on http://appleid.apple.com then you don't have a rescue email address (an alternate email address is different), and you won't be able to add one until you can answer your questions - you will have to contact Support in your country to get the questions reset.
    Contacting Apple about account security : Contact Apple for help with Apple ID account security
    If your country isn't on that page then try this form and explain and see what they reply with : https://ssl.apple.com/emea/support/itunes/contact.html
    When they've been reset you can add a rescue email address for potential future use : Manage your Apple ID primary, rescue, alternate, and notification email addresses

  • Where do I download drivers for airport extreme.....my iPad can not be set up by he current software

    where do I download drivers for airport extreme.....my iPad can not be set up by he current software

    I have an airport extreme with updated software(latest) and I setup an Ipad 3 on it with ios6(wirelessly). You can access the airport to update it with the utitlity app on an ios device, mac, or pc. I dont think it has anything to do with the airport software. Did you try rebooting the airport, then trying again?
    Like james said, maybe more detail would help someone help you.

  • Product number CQ183A can not access setting in EWS keeps asking for admin login and password.

    HP Photosmart 5510d B11H
    CQ183A
    Windows 7, Vista, and Linux
    I installed the printer everything works until I try to access certain settings in the Embedded Web Server.  I pops up a box asking for admin login.  Initially, the status page claimed the Admin password was set even though I never set that up.  Through chatting with tech support rests cleared this, it is now reporting Not Set.  However, I still can not login to check/change settings etc.
    I think this printer had been purchased then returned to the store because the manual was missing.  I downloaded the manual and did not find any mention of how to access the password settings.  So far tech support has not been able to answer my question,
    Is there a default?
    How do I access the EWS settings -> security to setup a password?

    Hello MREnder,
    From what I am reading, you may need to call in to get a factory reset done.  These resets can only be done over the phone.  You can find the number at eprintcenter.com under the support section.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • TS3276 can receive mail, can not send, set up smtp(offline)?

    I feel like a jerk, I know it is probably a simple change of wording in advanced setting or something I'm not doing correctly but I can not send mail using aol server. I use Safari only and have 2 accounts plus icloud, I have my Macbook Pro about 10 months and have had several mail issues but I worked them out.

    Hello:
    I use AOL's mail as well.
    Open mail.  Go to preferences and highlight your account in the sidebar.  Click on accounts>account information.  The out going mail server should show smtp.aol.com:your account name.  If that shows "offline," click on the drop down menu  "edit smtp server list."  The server name should be smtp.aol.com in use by your account.  Click on advanced.  You should use the default ports (25,465,587).  I authenticate using a password and my password is prefilled.  On rare occasions I have had a "gremlin" erase the password in that password box.  I have no clue how that happened, but the AOL server would not handle outgoing mail - showed offline.  Sometimes it took me quite awhile (restarts, etc) to get things going again.
    Barry

  • HT5312 Can not re-set my security questions

    How do you re-set your security questions

    If you have a rescue email address (which is not the same thing as an alternate email address) set up on your account then go to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you should see an option to send security question reset info to your rescue email address.
    If you don't have a rescue email address (you won't be able to add one until you can answer 2 of your questions) then you won't get the reset option - you will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down this page to add a rescue email address for potential future use : http://support.apple.com/kb/HT5312

  • Can not we set lov criteria used in advance table ?

    I have advance table lov, and want to set its criteria as we do in simple region table to  filter records, but there is no option of criteria item in advance table .??? how can we do this task ?
    any help would be really appreciated
    Regards,
    Parvez

    but there is no option of criteria item in advance table lov , then we cannot do .
    thanks & Regards
    Parvez

  • I can not change setting of history in privacy tab page of options. after i click ok , they return to their default!

    in option , privacy page , when i choose history setting to "use special setting" and click ok , next time when i open options i see they are returned to their default automatically " always remember history". it was good at beginning , but i dont know why it changes like this!

    You already may have set all choices to their default values.
    The "Use custom settings for history" setting allows to see the current history and cookie settings, but selecting that setting doesn't make changes to history and cookie settings.<br />
    Firefox shows the "Use custom settings for history" selection as an indication that at least one of the history and cookie settings is not the default to make you aware that changes were made.<br />
    If all History settings are default then the custom settings are hidden and you see "Firefox will: (Never) Remember History".<br />
    If you do not keep changes after a restart then see:
    *http://kb.mozillazine.org/Preferences_not_saved

  • Can not open set up file

    My Macbook Pro version is:
    I'm tring to install autodesk Maya on my Macbook, but the system keep showing me this warning:
    Can someone show me how to solve this problem?

    Just wanted to add here that Maya is not supported to run on Mountain Lion. Please check out the system requirements page for future updates.
    Philip Schmelzer
    AutodeskCare| Community Manager
    TW | PI | YT | BLOG

  • Can not capture with CS6 and blackmagic multibridge pro on HP Z820

    This is the setup:
    Z820 and Windows 7 pro
    Multibridge Pro and driver 9.7.7
    CS6.0.5
    In premiere I can not capture via the Multibridge. The app crash when entering capture mode. I can not change setting in my capture device.
    On the same PC I CAN capture with Media Composer v7 and BM Media Express.
    I've tried several version of the BM driver, no changes.
    The BM PCIe card is in slot 1 and the PC bios I have update to v3.50.
    Anyone having the same experience?
    Regards
    Danny

    Thanks for the reply. I know YouTube is not the way to check quality but it shows the stutter in playback. The quality wasn't the issue and it is filmed with my phone. The video shows what it needs to show.
    Disk setup is a ddp server (check http://www.dynamicdrivepool.com/ for info) connected with 2 network cables for optimal speed.
    Video cars is a NVIDIA Quadro K4000.
    Premiere Pro CC is up to date with the latest version.
    Export settings? I think you mean sequence settings:
    For the record: I'm not trying to play a sequence with multiple layers of video of different codecs and loaded with effects. It's just a video chopped to pieces and an adjustment layer with some simple effects. The way Adobe is advertising the performance of Premiere Pro, one would think that couldn't be a problem for any Z820. Or that's what I was thinking. Hope you or anyone can help.

  • Why my function can not get proper varaible value

    Hi.
    I write a MXML file like this.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="
    http://www.adobe.com/2006/mxml"
    invoke="setint()"
    creationComplete="getint()">
    <mx:Script>
    <![CDATA[
    import mx.utils.StringUtil;
    import mx.controls.Alert;
    public var number:int = 100;
    private function setint():void{
    number = 200;
    Alert.show("" + number);
    private function getint():void{
    Alert.show("" + number);
    ]]>
    </mx:Script>
    </mx:WindowedApplication>
    I define a varaible in ActionScrip. one function is to set
    its value, another is to get its value. why function getint()
    always get value 100. this varaible can not be set. the two
    function are trigger in invoke event and creationComplete.

    "crystalChen" <[email protected]> wrote in
    message
    news:ghska7$31a$[email protected]..
    > Hi.
    > I write a MXML file like this.
    > <?xml version="1.0" encoding="utf-8"?>
    > <mx:WindowedApplication xmlns:mx="
    http://www.adobe.com/2006/mxml"
    > invoke="setint()"
    > creationComplete="getint()">
    >
    > <mx:Script>
    > <![CDATA[
    > import mx.utils.StringUtil;
    > import mx.controls.Alert;
    >
    > public var number:int = 100;
    > private function setint():void{
    > number = 200;
    > Alert.show("" + number);
    > }
    >
    > private function getint():void{
    > Alert.show("" + number);
    > }
    > ]]>
    > </mx:Script>
    >
    > </mx:WindowedApplication>
    >
    > I define a varaible in ActionScrip. one function is to
    set its value,
    > another
    > is to get its value. why function getint() always get
    value 100. this
    > varaible
    > can not be set. the two function are trigger in invoke
    event and
    > creationComplete.
    Check out "Defining Public properties by using getter and
    setter methods"
    http://www.adobe.com/livedocs/flex/3/html/help.html?content=ascomponents_3.html

  • Sy-batch is not getting set in background?

    Hi Experts,
    I have a scenario in which we are processing Inbound Idocs via standard FM to create EDI orders from the inbound Idoc data.
    We have a requirement in which we implemented enhancement for a Popup screen for user to select a particular material from the list of materials shown on the screen. While background instead of popup we are determining the record progmatically vai customer exit(Function module exit).
    The logic for foreground & background is perfectly fine but the problem is SY-BATCH value is not being set to "X" in background. So our background logic does not come into picture & IDOC fails in background.
    Just to analyze this issue , I have tried to store value of sy-batch in some variable & then put an infinite loop to check in background debugging(VIA SM50) whether that variable contains an "X" or not, That variable was not set to "X".
    Can anybody tell me is there any other way by which we can programatically distinguish whether something is running in foreground or in background?

    Hi,
    Also test the field sy-binpt ( Batch input ) which is set when a call transaction is made in the program. Usually the IDoc processing functions do a call transaction.
    Also at times the IDoc processing function sets a variable and exports it to the memory so you migh want to check for "export" statements in the IDoc processing function as well and import it in your program and test that imported variable.
    Br,
    Advait

Maybe you are looking for

  • Reg. internal table logic

    Hi, I have an internal table with 5 fields (Vbeln, A, B, C, D ) and records like this: Record1: Field vbeln (value is  6000000001), Field A (value is 2006), Field B (value is 1130), Field C (value is initial), Field D (value is initial) Record1: Fiel

  • Code Signing Help!

    Hello. I am trying to submit my application to the mac app store. However I can't code sign when I click on submit.Please help the only option in Code Signing is Don't Sign. Thanks.

  • Performance Problems in ADF

    I am having severe performance issue using ADF. Queries run very quickly, however, the framework will "hang" for up to 18 sec during "Resolving" step. Also, $$added root$$ appears to take at least 5 sec. Thus, a total of over 23 sec is added to the t

  • Flash Media Live Encoder won't connect to server

    I am trying to configure Flash Media Live Encoder 3.2. I followed the instructions provided by the chatroom I am working for, and it seems to be working until I press the "Start" button on the bottom. When I do that, I get an error message that says

  • Bluetooth communication with printer

    I have just installed a bluetooth adapter (HP bt450) on my HP 7850 Printer. Sometimes when I send a document to the printer, it works and sometimes it doesn't. Sometimes the error message is "printer is out of range", which it definitely isn't. Any i