Include File doesnt work with URLs

Hi guys,
Im using <jsp:include page="/topper.htm" flush="true"/> to include topper. Can i use the full URL ex <jsp:include page="http://www.hotelrooms2bid.com/topper.htm" flush="true"/>. Since the topper and footer will come from different Web Server, i have to use the full URL
the Full URK path is not working in this case.
pls help me.any inputs or ideas will be highly appreciated
thanks,
Sachin

From http://java.sun.com/products/jsp/tags/12/syntaxref1214.html#8828 (emphasis mine):
page="{ relativeURL | <%= expression %> }"
The relative URL that locates the resource to be included, or an expression that evaluates to a String equivalent to the relative URL.
The relative URL looks like a pathname--it cannot contain a protocol name, port number, or domain name. The URL can be absolute or relative to the current JSP page. If it is absolute (beginning with a /), the pathname is resolved by your web or application server.
You could use a servlet in your "path" attribute and have that servlet read and return the page from a different server; there are ways to do what you want, but <jsp:include> isn't one of them.

Similar Messages

  • Enter key doesnt work in url line

    enter key doesnt work in url line. only i have to pick go button with mouse

    # Click the orange Firefox button and select Add-ons to open the add-ons manager
    # In the list of extensions click on AVG Safe Search to select it, then click the Disable button
    # Restart Firefox

  • Unable to find ODI_SAmple_DATA.zip file to work with oracle profiling.

    I am unable to find ODI_SAmple_DATA.zip file to work with oracle profiling.Any help regarding profiling???Do i need to
    copy it from sw installation folder.?How profiling is different or related to odi data quality???Do we take source data twice -
    1) For ODI target load
    2)For profiling into entities.

    Try:
    http://www.oracle.com/technology/products/oracle-data-quality/pdf/oracledq_sample_data.zip
    and
    http://download.oracle.com/otn/nt/ias/101340/oracledq_sample_directory.zip
    Hope this helps.
    G

  • I book doesnt work with power cord only

    Hello. I was just using my ibook g4 and shut it down. When i tried to turn it back on it worked for about 5 minutes then it shut off. I tried taking out the battery and holding down the power button for 5 seconds among other things. I gave up and borrowed a friends battery, he has the same model as me and that battery doesnt work either. I tried just using the power cord only and that doesnt work either. Do i need to take it in to a professional? I've tried just about everything.

    Hey Caesar and Welcome to Apple Discussions,
    So your header reads:
    "i book doesnt work with power cord only "
    Is that right? Will it run only on the battery?
    If so this is from the manual:
    "The computer runs with battery, but not with the power adapter plugged into
    wall outlet
    1. Try known-good power outlet.
    2. Try known-good power adapter and power cord.
    Note:
    Verify that power adapter connector glows amber or green. If the power
    adapter light is green, turn over the computer and press the battery button. The
    battery lights should glow green and stay on if the power adapter is operating
    correctly.
    3. Reset the power manager by pressing the key combination Control-Option-Shiftpower.
    Warning: Make sure you do not hold down the "fn" key when resetting the
    power manager.
    Warning: Resetting the power manager means you will also need to reset the
    date and time (using the Date & Time control panel).
    4. Replace DC board.
    5. Replace logic board."
    and it would help to know exactly which iBook you have but this is pretty generic.
    Richard

  • Cant get include file to work

    hello,
    i am trying to get a include file to work but it wont seem to
    work propperly.
    if i change it to a shtml it works but i dont want nto have
    to do this.
    any help greatly appreciated thanks.
    http://www.sickstudentgames.com/familyguyseason2.html
    is th link

    > if i change it to a shtml it works but i dont want nto
    have to do this.
    your hosting server is NOT parsing .html files for SSI
    includes.
    I can tell this because the include directive is visible in
    the source code.
    reconfigure the server so it does parse .html files.
    Or- rename the file to .shtml
    Note- the content you are linking to on page that is
    copyrighted material.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • How can I get avi files to work with imovie08?

    Hi I bought a macbook last year and have loved creating imovie videos by simply using the video function on my digital camera. My daughter was born last year and we have a great collection of clips of her first 7 months. I'd now like to take things a step further and put together a wedding video.
    We had our wedding day filmed on a digital camcorder by a friend and he has given my 25MB of avi files which I would like to import into imovie and make into a video however I understand that this format isn't compatible. Is there a way of getting it to work and if so please can you tell me in very simple terms what I need to do to get the files to work with imovie? (I'm not very technical)
    Thanks
    Matt

    I do not know of a way to import .avi files directly into iMovie, and I am positive that this is not actually possible as iMovie only supports the importation of .mov, .mp4 (mpeg4) and .dv filetypes.
    What you could do is use a video converter (there are some good ones that are availible free, eg MPEG Streamclip (http://www.apple.com/downloads/macosx/video/mpegstreamclip.html)) to convert those avi movie files to either of the 3 video formats iMovie supports, then import them.
    MPEG Streamclip does sound a little complicated for you but it is the best I have found, any more questions just post them here.

  • Why is the fb video call doesnt work with macbook?

    why is the fb video call doesnt work with macbook?

    Hi
    Just to correct GerdW - the vis of a polymorphic vi do not have to have the same output.
    Have a look at the vis I attached. I just pass a dbl to a polymorphic vi and get a dbl in one vi and a string in the other.
    The real problem is that the vi has to be set to the necessary type. If there are different inputs you just can wire them to the polymorphic vi, but this does not work with the outputs, so you have to set the type.
    Hope this helps.
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...
    Attachments:
    Polymorph.zip ‏14 KB

  • Convert .MXF Video files to work with Mac Editing software?

    Hello,
    Many thanks in advance for your attention.
    Trying to find software that will edit .MXF Video Files to work with Mac.
    As the edit is simple, prefer iMovie, but happy if the Conversion software only works with FCExpress (or even FCPro if that is the only alternative).
    1. If it matters, .MXF (Material Exchange Format) Video files came from shooting on a Panasonic 500 P2. Originally downloaded onto a Windows system, using Adobe Premiere.
    2. I just want to see and convert some of the shots I did for my Reel, etc., but I have a Mac.
    3. I have iMovie HD, iMovie 09, and FCExpress (which I don't know how to use that well).
    4. When I attach an External HD with backup files of all the footage shot, they show up named as .MXF files. They appear as VLC files (VLC icon), but the suffix is .MXF.
    5. When I try to play them as VLC files, they won't play. It seems they start to play, but then the VLC software quits.
    6. So I have tried downloading some software on the Internet that Google says converts .MXF files.
    I tried: iSkysoft Video Converter, AVCWare Mac Video Converter, MPEG Streamclip, and a couple others. They all seem to have basically the same conversion setups, but when I click to pick one .MXF file, none of them recognize it. (The file in my Browse window is greyed out).
    7. MoyaVideo Converter for Mac recognizes the .MXF file, but when I hit the "conversion" button - I tried a couple different settings, all it seems to convert is the first frame. Even if the .MXF file says a clip is 123MB or 43 seconds long, etc.
    8. I can't even watch the clip in Preview. Press Play and it is just the first frame.
    9. I have read elsewhere in these forums, some people touting conversion software from a company in Germany - mfxformac. I am fine with paying for conversion software, but $500?
    Anyone's help would be greatly appreciated.

    Many thanks for your response.
    If this codec can only be read by Final Cut Pro, why do all these companies claim their software can convert .MXF files?

  • Seagate 1.5TB doesnt work with mac

    hi, i have a seagate external hard drive 1.5 TB, i generally use it for my windows laptop. now i bought a mac and it doesnt work with my mac. Am i doing some thing wrong..?

    Are you planning on using the drive with Windows? If no, then use Disk Utility in Applications/Utilities to reformat the drive. Formatting erases contents on a drive. Copy the data to another source before formatting.
    Format the external drive as Mac OS Extended (Journaled) - Partition Map Scheme: GUID
    Select Drive (top name) then click on Erase tab.
    Under Format select Mac OS Extended (Journaled)
    This should format as GUID when erasing but sometimes you need to click on an Advanced tab and select GUID.
    If you do plan on using the drive with Windows machine, format on Windows machine as exFAT.

  • Time capsule doesnt work with telia bredband no wifi

    Time capsule doesnt work with telia bredband no wifi.  Time capsule and its wifi worked in the beginning, but now it doesnt. I have tried everything without success.

    There is no question.. so if it is a statement of resignation.. then if under warranty and faulty Apple will fix it/replace it.. if not dead you will be given it back.
    Are you using Lion? If so did you download 5.6 airport utility?
    Plug the TC into a computer by ethernet.. hold in reset for 10sec.. and then redo the setup.
    Give TC and wireless short names and no spaces and no special characters.. lock the wireless to manual a/n-b/g and fix the channels.
    Then if it doesn't work most likely faulty. Otherwise it is just setup is wrong.

  • I want to resigne an annual engagement ? how to do ? it doesnt work with " more help"! turn turn turn turn over and over

    i want to resigne an annual engagement ? how to do ? it doesnt work with " more help"! turn turn turn turn over and over

    This is an open forum, not Adobe support... You need Adobe support to cancel a subscription
    -start here https://forums.adobe.com/thread/1703848
    -or by telephone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html
    --and two links which may provide more details, if the above links don't help you
    -http://helpx.adobe.com/x-productkb/policy-pricing/return-cancel-or-change-order.html
    -http://helpx.adobe.com/x-productkb/policy-pricing/cancel-membership-subscription.html

  • Cmss 3d doesnt work with dolby digital live pack

    0cmss 3d doesnt work with dolby digital li've pack4 From the page of Dobly Digital Li've pack
    "Stereo content (MP3, WMA, CD audio or games) that is transformed into 5. surround sound using Creative CMSS-3D or DTS Neo:PC can also benefit from this encoding scheme that will further enhance the entertainment value of your Sound Blaster X-Fi."
    with that said, i bought the pack that has both DDL and DTS Interacti've. but while playing music my reciever only gets front left and right channels. No sound comes from the center or rear channels. This is with CMSS 3D on. With analog all 5 speakers work. Before installing this pack, my reciever got PCM input from the optical line. Thus only the front channels working. now with this pack the speaker recognises that the signal is Dolby or DTS yet, only the front channels work. in short there is no difference with this pack.
    could someone please explain to me how to get the whole 5. working with Dolby or DTS
    thank you
    Sound Blaster X-Fi Platinum, Driver 2.8.003
    Windows 7 x64 Build 700

    thank you for the promp reply
    the problem was with the reciever. just a change in setting was all it took
    but now i have anoter problem
    how do i bypass dolby and dts signals from movies to my reciever
    before i simply had to set spdif out as default sound device and set ac3filter to spdif passthru
    now the driver panel tells me that SPDIFOut will be exclusvely be used by DTS Interactiv. it doesnt pass the signal through from Media player classic or powerdvd.
    am i expected to turn off DTS Interacti've or DDL when watching a movie and needing to pass on the signal?

  • Combining .part with .exe, by downloading an .exe file, doesnt work.

    Hi,
    if i want do download an .exe file, combining .part with the .exe doesnt work because the .exe is opened in explorer.exe.
    .exe cant be deleted, too.
    I download the files to my desktop.
    Every other filextension works perfectly.

    Readers and Writers are for text. For binary data use InputStream and OutputStream.

  • [Struts]File upload doesnt work with "Create" but works with "CreateInsert"

    Hello,
    thank you for reading this!
    Im facing serious issue with web application built with JSP, Struts & ADF BC in jdeveloper 10.1.3.1 and jdeveloper 10.1.3.2 (same code works perfectly in older jdev versions)
    File upload to DB only works if CreateInsert is selected in PageDefinition. (Have to change from default "Create" to "CreateInsert")
    If I set "Create" i get this problems:
    - if VO is empty the row cannot be created (no error is returned, i click ОК and row is not commited, its just discarded)
    - if VO is not empty instead to create new row current row is updated.
    This only happens with "multipart/form-data" forms. With plain form row is created without the problem.
    If I change to "CreateInsert" then I can add new rows with "multipart/form-data" but i would prefer "Create" because it avoid the blank row issue...
    Old 10.1.3 works with "Create" and "multipart/form-data".
    Im aware of this problem since the 10.1.3.1 release but I havent posted on the forum because I hoped Oracle is aware of this problem but since the problem remains I decided to react. I do not have the metalink account so only way to address the issue is in this forum.
    Please Help.
    Sanja

    I had some problem with 'Create' earlier with 10.1.2. Then I kept recreateing the pages and then it worked finally. How are you creating the page for 'create' event. Is it like, first displaying the rows from the table with create button, or are you right away creating the page from menu option.

  • Pls tell me use %@ include file="myfile.jsp"% with endcoding UTF-8??

    My jsp pages use some endcoding as UTF-8.
              When I use <%@ include file="myfile.jsp"%> endcoding lose format UTF-8. But
              if I use <jsp:forward page="myfile.jsp"/> it work fine.
              Pls tell me use <%@include %>
              (I use Jbuilder 6 and weblogic server 6.1)
              Thanks .
              

    From http://java.sun.com/products/jsp/tags/12/syntaxref1214.html#8828 (emphasis mine):
    page="{ relativeURL | <%= expression %> }"
    The relative URL that locates the resource to be included, or an expression that evaluates to a String equivalent to the relative URL.
    The relative URL looks like a pathname--it cannot contain a protocol name, port number, or domain name. The URL can be absolute or relative to the current JSP page. If it is absolute (beginning with a /), the pathname is resolved by your web or application server.
    You could use a servlet in your "path" attribute and have that servlet read and return the page from a different server; there are ways to do what you want, but <jsp:include> isn't one of them.

Maybe you are looking for