Can I able to include image/.js file to payload-body.jsp

Dear Experts,
Could anyone please tell me that how can I refer a external javascript file from payload-body.jsp and where should I place the same. Also please tell the same to display an image. Please suggest me ASAP.
Thanks,
Rajesh

Hi,
so what source address of js file i have to give in jsp page.....in your case you can use below include command
<jsp:include page="script/test.js" /> // here test.js is your .js file nameGenerally we need to place all jsp and js files under "jdevhome\jdev\myhtml\OA_HTML". In this case you can use
<jsp:include page="test.js" /> // here test.js is your .js file nameor
<%@include file="test.js" %>  // here test.js is your .js file nameregards,
Anand

Similar Messages

  • Can't able to access the Jar files which is kept inside the folder.

    Hi,
    I am using the eclipse IDE, my project folder contains the folders src, bin, .metadata, .settings
    if i place the jar file in the same location of the above mentioned folder means i can able to use the Jar file in eclipse(in my project).
    But i create one folder in the same location in the name of Jar or anything and all jar files are placed inside the folder,then i can't able to access the jar file in eclipse(in my project).
    How i can solve this problem?

    RajivGuna wrote:
    ..How i can solve this problem?Put Eclipse aside for the moment and learn how the SDK tools work at the level of the command line, then you will be much better placed to figure how to do it in the IDE. If you are still having problems, I suggest you ask on an [Eclipse forum|http://www.eclipse.org/forums/].

  • Can we able to drag images directly

    can we able to drag images directly in a pane or we have to put it on some label like components
    will all the mouse events will work when we can able to drag images directly, else when we drag from
    putting it on labels , will all the mouse events will work , which will be more overhead draging tthe labels
    or draging our own created jcomponents

    PNG is already a compressed format and most likely you already have achieved the maximum possible result. Unlike with JPEG, there are no compression levels. If you want it smaller, you have to reduce the dimensions or the amount of colors, but that's about it.
    Mylenium

  • Can I boot from an image (*.iso) file?

    I have XP Pro and OSX on my MBP using bootcamp only (not parallels or fusion). I can boot in linux from a CD when I initiate bootcamp (option key on startup). Can I locate the image from the CD on my computer and boot without the CD (and if so where do I put the file)? I want to use triple boot now to add Linux, but don't really want to repartition for it. If there was an easy tool to put an additional 10G partition for Linux I would do that.
    Thanks

    churcht wrote:
    I have XP Pro and OSX on my MBP using bootcamp only (not parallels or fusion). I can boot in linux from a CD when I initiate bootcamp (option key on startup). Can I locate the image from the CD on my computer and boot without the CD (and if so where do I put the file)? I want to use triple boot now to add Linux, but don't really want to repartition for it. If there was an easy tool to put an additional 10G partition for Linux I would do that.
    How can you have a partition for Linux without a partition? You do not want to repartition but yet you want a new partition. Have you really thought out what you want?
    Thanks

  • I can't able to open the *.log files from the firefox browser and i need to open the file inside the frame

    If i open the log file from firefox browser it is not open and throws an error as
    "The address wasn't understood
    Firefox doesn't know how to open this address, because one of the following protocols (e) isn't associated with any program or is not allowed in this context."

    What type of log file?
    What is the file name?
    What is the file path or URI?

  • How to include image or html dynamically in a JSP?

    I need to show the uploaded content in a jsp. It could be either a image or html file. How can i include these images or html files dynamically without affecting screen design.

    What the heck is 'screen design'? You mean the page layout?
    You could show in a popup div; JQuery will be your best bet for a prebuilt function to do that. But you'd need to put the uploaded file in a place where the browser can fetch it through an URL, or you need to create a servlet that can load and return the data to the browser.

  • Trying to include a  javascript file('.js') in a jsp program

    i built an html static page using a .js file.
    calling this javascript file works perfectly.
    but now when copying the code in my jsp page, it doesn't work anymore...
    Does anybody has a clue ? is it a known issue (i don't think so...) ?
    i removed all special characters in the javascript message...
    i placed an alert message to see if the file included is not found, but i never saw it, so i guess the page finds the javascriptfile and try to execute the code...
    this is weird...

    here it is...
    <html>
    <head>
    <title>Intranet de l&#39;IAAI.</title>
    </head>
    <SCRIPT type="text/JavaScript" src="javascript.js">
    alert('fail');
    </SCRIPT>
    <body topmargin="10" bgcolor="#FFFFFF">
    -------------

  • Can't able to open CP (ver 5) file in Captivate 7(trial version)

    Hi,
    I have .cp files, I think those files are from Adobe Captivate 5.0 or 5.5 version. I downloaded trial version of Adobe Captivate but those files are not opening in 7.  Is there any way I can able to open.
    While opening .cp file, its giving error like below screen. Can anyone able to guide to open file in captivate 7?? or any converter avaialble?
    also, I seen some forums where it says there may be hidden file but I didn't get it.

    Only way is to try to get somewhere a copy of 5.5, as an intermediary step. And even then, converting a cp to cptx will need a lot more work. The remake was very drastic, text may shift or change fonts, you have to be sure that everything was AS3 (because CP4 still allowed AS2), question slides, animations will almost certainly cause problems. I really don't know about another way, sorry. After all we are talking about a time lag of more than 4 years, 4 versions (5, 5.5, 6, 6.1) have come and gone since, which is very long in software land
    Lilybiri

  • How to send image as a part of body with java mail

    How to send image (.GIF) file in mail body & not as an attachement using java mail API

    You need to create a multipart/related message.
    You'll probably find examples in this forum.

  • How can I export an edited image to a file?

    I can't seem to find a way in iPhoto 09 do this. Can I export an edited image to a file, keeping the edits intact, or do I have to use a 3rd party editing app when I edit from inside iPhoto 09?
    I would prefer to use iPhoto's editing tools so should I import previously cropped images into iPhoto? If yes, what file should I use? I was wondering if anyone does this on a regular basis and if there issues doing this.
    I like the editing tools in iPhoto very much. In other apps I have always cropped, resized, corrected levels and a bit of color. I am not a power user by any means and I am close to doing this all in iPhoto if I could only export the edited image to a file.
    The reason I want to do this is because the printing portion of my work flow is to upload files to my merchant who prints them and are ready for nearby pickup within an hour. This is all done at a very reasonable price and the color accuracy is very close.
    Any advice would be greatly appreciated.
    Regards,
    Jim

    You can edit from iPhoto by dragging to the desktop or exporting using the File -> Export command, setting the Kind to anything except original.
    But you probably don’t need to:
    There are many, many ways to access your files in iPhoto:
    *For Users of 10.5 Only*
    You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Apple-Click for selecting multiple pics.
    Uploaded with plasq's Skitch!
    You can access the Library from the New Message Window in Mail:
    Uploaded with plasq's Skitch!
    *For users of 10.4 and 10.5* ...
    Many internet sites such as Flickr and SmugMug have plug-ins for accessing the iPhoto Library. If the site you want to use doesn’t then some, one or any of these will also work:
    To upload to a site that does not have an iPhoto Export Plug-in the recommended way is to Select the Pic in the iPhoto Window and go File -> Export and export the pic to the desktop, then upload from there. After the upload you can trash the pic on the desktop. It's only a copy and your original is safe in iPhoto.
    This is also true for emailing with Web-based services. However, if you're using Gmail you can use iPhoto2GMail
    If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    *If you want to access the files with iPhoto not running*:
    Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
    Other options include:
    1. *Drag and Drop*: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    2. *File -> Export*: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    3. *Show File*: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
    Regards
    TD

  • Why can I no longer drag a .eps file from finder into a slide to embed the image?

    I have always been able to embed a .eps file into a Keynote presentation by dragging the file from Finder onto a slide. This no longer seems to work in Keynote 6.1 in Maverick 10.9.1

    This is a complete deal breaker for me. The main reason I was using keynote was that I could write equations on latex and drag them directly as eps images to the slides. I can still do it if I export them as png or jpg, but the aesthetic result is subpar. Any idea of when is this going to be restored in keynote? Thanks!

  • How to include image file in ard

    Dear members,
    I have to include one more menu next to reports menu in sap B1. I need to include the picture symbol.
    Can anybody inform me how to include the image file while making the add-on.Normally we include the exe file and dll files.Is there any specific methods to include the image.Please kindly let me know.
    Regards,
    Venkatesh.R

    in srf attached image button.
    and write code
    Dim img As SAPbouiCOM.PictureBox
                    img = oForm.Items.Item("14").Specific
                    SPath = CurDir() '.Remove(Len(CurDir) - 3, 3)
                    img.Picture = (spath & "\Avijit.bmp")
    Spath is nothing butthe location where u put all files .
    regards,
    Avijit

  • I'm not able to copy and paste files from my mac to hard disk and usb. I have tried dragging the items to those devices but it won't work. I also have tried copying and pasting those files onto those devices but that doesn't work too. Can any one help?

    I'm not able to copy and paste files from my mac to hard disk and usb. I have tried dragging the items I want to copy to those devices but it won't work. I also have tried copying and pasting those files onto those devices too but that doesn't work too. Can any one help?

    Hi BobRz
    Thanks for you suggestion but it didn't work - are there other ways for solving this problem? Or is it because my files that I want to copy and paste onto my hard disk etc are too big? (However there is space on my hard disk and it works on a PC)

  • How can I include a javaScript files from within jsf component

    Is there any way using which I can include javascript files from my jsf component. Because otherwise I have to write all the javascript commands using writer.write which is very tedious rather than this I just want to include the javascript file which contains all the functions required. Also I want that this file should be included only once irrespective of the number of components included.
    Thanx in advance

    This doesn't depend on JSF. You need to include a script tag, like:
    <script src="/path/script.js"
    language="JavaScript" type="text/javascript"></script>
    If you want to include this only once, make a file included into every page, into which you can put other resources to be included along with this script.
    HTH,
    rs.

  • I used to be able to print a pdf file, but now I can't. Why? And can I have this feature back?

    I would like to be able to print a pdf file from a page in Firefox. I used to be able to do this. Why can't I do this now, and can this feature be turned back on?

    You can also:
    *right-click the Back/Forward button for the drop-down
    *add this extension to add the drop-marker to the Back/Forward button: https://addons.mozilla.org/en-US/firefox/addon/backforward-dropmarker/
    <br />
    <br />
    '''You need to update the following:'''
    *Next Generation Java Plug-in 1.6.0_23 for Mozilla browsers (''version 1.6.0_25 is available for download, but can not be updated using manual update yet'')
    #'''''Check your plugin versions''''' on either of the following links':
    #*http://www.mozilla.com/en-US/plugincheck/
    #*https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #*There are plugin specific testing links available from this page:
    #**http://kb.mozillazine.org/Testing_plugins
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    #**'''''Be sure to <u>un-check the Yahoo Toolbar</u> option during the install if you do not want it installed.
    #*Also see "Manual Update" in this article to update from the Java Control Panel in Windows Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Firefox_:_FAQs_:_Install_Java#Multiple_Java_Console_extensions
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

Maybe you are looking for

  • Z Transaction Types not showing up at creation in CRM 5.2 WebClient

    Hi Experts, I am using CRM 5.2 with webclient. I have just created 3 transaction types (BUS2000126 & BUS2000125) copied from standard ones. I passed all other transactions as Inactive in SPRO. In GUI everything is OK, I can create each of these trans

  • I'm trying to set up Mail in MacOSX SL Server but ..

    My mail/domain is managed by an ISP (Earthlink).  I have no problems with that and am content to let them host things. What I want to do is setup Mail on my new MacOS X SnowLeopard Server so that 1) mail would get fetched from the ISP auto-magically

  • Change page header based on group being printed

    I have a report that is grouping by two fields, field A & B.  When the report is printing group A I would like the page header to be "Group A Header" when the report is printing the groups for field B I would like the page header to be "Group B Heade

  • HD not recognized

    I have a la cie hd connected to my imac G4 using osx 10,4,8. All of a sudden (I think after the last security upgrade), the hd does non mount and I get a message saying this computer cannot read the disk... What can I do ?

  • Webdynpro application deployment issue.

    Hi Laydies/Gentlements, When I try to deploy webdynpro application, it threw application deployment exception. Anyone can help me? The message like below: 2010/11/11 下午 03:36:36 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager)