CALLING A IMAGE FROM A LOCATION OF SERVER

Hello to all,i have 2 doubts:
1ª) try to do this by creating a dummy image and then i format picture and put url{var} where var is in xml element and contains the path of the picture but doesnt work. i'm doing something wrong?
2º) sometimes i want to call an image without the dummy because i'm limited to the size of the dummy image and if i have pictures in vertical and other in horizontal the aspect isnt quite good. i have a xsl command that i can call an image from a location (contained in a xml element )and resize it at runtime?
Thank's in advance

For 1a) what is the code that you are using? Have you followed the process like this blog post: http://blogs.oracle.com/xmlpublisher/2006/05/dynamic_images.html
Thanks!

Similar Messages

  • Calling stored procedure from script on remote server

    We are migrating our database to a virtual server environment. On the current dedicated environment, the database and scripts(calling stored procedures) are on the same server. In the new envoirnment, the scripts, input and output files will be on a different server. Does anyone have any examples of scripts on one server calling stored procedures on another server. Don't laugh, but the db server is currently running Oracle 9i (part of the new enviornment to move to 11g).

    brifry wrote:
    sorry my terminolgy is not correct. the stored procedure is in the database and the database is on server a. The script is on server b. In your example you show how to log onto the database. That I know. In your example your example, how would you point to server b so you can log onto the database?Do you want to mean that your procedure (location A) want to call a script from location B ?
    make the script located folder as shared and ,You may try this
    //server_name/folder_name/file_name.xxxHope this helps

  • How to load a PNG image from a location in CF card

    Hi,
    I am using WTK 2.5.2. I wanted to load a PNG image to Image object. The image is loaded when I have it in the classes folder. But I want to select different image from a different location. If I try to open an Image to createImage(String) from a different location, I get IOException.
    Please help me.
    Thanks
    Deekshit M

    I got the answer, I should be using Image.createImage(InputStream) API. It works fine.
    Thanks
    DM

  • Calling SSIS package from DTEXEC in SQL Server 2012

    Hello,
    I have a package called test.dtsx developed in SSIS vs 2010 (project deployment model). It has two project parameters one is  db connection (string) and one is classnumber(string). This package has been deployed as file system and in SSISDB. I want to
    assign the following values to the project parameters
    $Project::DBConnection - Data Source=localhost;User ID=User;Password=password;Initial Catalog=testdb;Provider=SQLNCLI11.1;Persist Security Info=True;Auto Translate=False;
    $Project::Classnumber - 10
    What is the syntax to call this package from dtexec passing values for parameters
    1. as a file system deployment
    2. as a package in SSIS db(catalog)
    thanks

    http://msdn.microsoft.com/en-ca/library/hh231187.aspx has an example
    Dtexec /isserver “SSISDB\MyFolder\MyProject\test.dtsx” /server “.” /parameter $Project::DBConnection;thevalue /parameter anotherparam(int32);12
    Arthur My Blog

  • How to retrieve/gather images from a non-ZEN server?

    Our main ZENworks server is 4.01 and it's running out of space for
    images. We have an OES server that I'd like to use to push & pull images.
    I looked at the Security tab / Upload restrictions in the Server Policy
    and thought I might be able to define exactly where images can be stored
    but haven't made any changes yet. Any ideas on how I can make this work?

    On Wed, 14 Dec 2005 15:39:41 GMT, [email protected] wrote:
    > Is that the only way?
    yes.. the imgserv.nlm does access the harddrive via connection 0... it is
    not able to authenticate..
    and honestly why would you want to pull an image from another server
    causing double amount of traffic..
    you only need to install the imgserv on the other server and reference him
    in your scripts... the old one can do the pxe stuff..
    If you have already compiled drivers or have linux.2 please put them on
    http://forge.novell.com/modules/xfmo...ect/?zfdimgdrv
    Marcus Breiden
    If you are asked to email me information please change -- to - in my e-mail
    address.
    The content of this mail is my private and personal opinion.
    http://www.edu-magic.net

  • How to upload an image from servlet/jsp into server from clients machine?

    can anybody send me the code to upload image from client to server using servlet/jsp.
    i'm using tomcat server.

    You can use the [Apache Commons FileUpload API|http://commons.apache.org/fileupload/] to upload files using Java.
    Here is a Filter example which uses the FileUpload API to process the request and stores the regular request parameters back in the ParameterMap of the request and puts the uploades files as attributes of the request: [http://balusc.blogspot.com/2007/11/multipartfilter.html] Just define it once in web.xml and you can continue writing the servlet logic as usual.

  • Calling an ejb from glassfish to weblogic server

    I'd like to be able to call a stateless session bean from a glassfishV3 server that is residing on weblogic 9.2.3. (Ejb spec 2.1 NOT 3.0 please)
    I've done this successfully from Tomcat to weblogic, but there are a few hiccups when trying this on glassfish.
    Basically what I've attempted is this:
    1.) I add these jvm properties to the glassfish startup:
    -Dorg.omg.CORBA.ORBClass=weblogic.corba.orb.ORB
    -Dorg.omg.CORBA.ORBSingletonClass=weblogic.corba.orb.ORB
    -Djavax.rmi.CORBA.PortableRemoteObjectClass=weblogic.iiop.PortableRemoteObjectDelegateImpl
    -Djavax.rmi.CORBA.UtilClass=weblogic.iiop.UtilDelegateImpl
    2.) Copy weblogic.jar, tools.jar, and webservices.jar from the weblogic/server/lib directory to the glassfish lib/ext directory
    ...glassfish won't start then because of the weblogic.jar...
    3.) Move the weblogic.jar to the WEB-INF/lib directory of my war in glassfish.
    Now I try it and get:
    (I'm skipping some of the stacktrace at the start)
    .....java.lang.IllegalAccessError: tried to access method weblogic.kernel.KernelStatus.initialized()V from class weblogic.kernel.Kernel at weblogic.kernel.Kernel.ensureInitialized......
    I'm guessing that this has to do with the "weblogic kernel" not being initialized. So now I'm stuck.
    Am I going down the wrong path?
    I've also tried these other proposed solutions:
    1.) Changing the connection properties of the InitialContext to use these properties:
    env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    env.put(Context.PROVIDER_URL, "t3://localhost:7001");
    env.put(Context.SECURITY_PRINCIPAL, "weblogic");
    env.put(Context.SECURITY_CREDENTIALS, "weblogic");
    2.) Using RMI over IIOP instead of T3.
    None of these with any luck.
    If anyone has done this successfully I'd appreciate some insight.
    Regards,
    Eric

    I'd like to be able to call a stateless session bean from a glassfishV3 server that is residing on weblogic 9.2.3. (Ejb spec 2.1 NOT 3.0 please)
    I've done this successfully from Tomcat to weblogic, but there are a few hiccups when trying this on glassfish.
    Basically what I've attempted is this:
    1.) I add these jvm properties to the glassfish startup:
    -Dorg.omg.CORBA.ORBClass=weblogic.corba.orb.ORB
    -Dorg.omg.CORBA.ORBSingletonClass=weblogic.corba.orb.ORB
    -Djavax.rmi.CORBA.PortableRemoteObjectClass=weblogic.iiop.PortableRemoteObjectDelegateImpl
    -Djavax.rmi.CORBA.UtilClass=weblogic.iiop.UtilDelegateImpl
    2.) Copy weblogic.jar, tools.jar, and webservices.jar from the weblogic/server/lib directory to the glassfish lib/ext directory
    ...glassfish won't start then because of the weblogic.jar...
    3.) Move the weblogic.jar to the WEB-INF/lib directory of my war in glassfish.
    Now I try it and get:
    (I'm skipping some of the stacktrace at the start)
    .....java.lang.IllegalAccessError: tried to access method weblogic.kernel.KernelStatus.initialized()V from class weblogic.kernel.Kernel at weblogic.kernel.Kernel.ensureInitialized......
    I'm guessing that this has to do with the "weblogic kernel" not being initialized. So now I'm stuck.
    Am I going down the wrong path?
    I've also tried these other proposed solutions:
    1.) Changing the connection properties of the InitialContext to use these properties:
    env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    env.put(Context.PROVIDER_URL, "t3://localhost:7001");
    env.put(Context.SECURITY_PRINCIPAL, "weblogic");
    env.put(Context.SECURITY_CREDENTIALS, "weblogic");
    2.) Using RMI over IIOP instead of T3.
    None of these with any luck.
    If anyone has done this successfully I'd appreciate some insight.
    Regards,
    Eric

  • Call C++ program from ABAP on remote server

    Hello folks! I have C++ program on remote server (not application server!). I want to call it from ABAP program. I know about RFC, but I haven't touch with this area, can anybody help me?

    HI,
    Please go through link
    SAP R/3 : System Functions
    which has example of using C++ program residing in remote server.  Hope your question gets clarification.
    Best Regards,
    Krishna

  • Create image from byte[]array on server side

    Hello everyone..
    I'm developing an application which will take snapshots from a mobile device, and send it to my pc via bluetooth. I have my own midlet which uses the phone camera to take the snapshot, i want to transfer that snapshot to my pc.
    The snapshot is taken is stored in an array byte.
    The image can be created on the phone itself with no problem using : image.createImage(byte[])
    my problem is that when i send the array byte via bluetooth, and receive it on the server, i cannot create the image using the :image.createImage() code
    The connection is good since i have tested by writing the content of the array in a text file.
    Piece of midlet code:
                try{
                     stream = (StreamConnection)Connector.open(url);
                     OutputStream ggt = stream.openOutputStream();
                     ggt.write(str);
                     ggt.close();
                }catch(Exception e){
                     err1  = e.getMessage();
                }where str is my array byte containing the snapshot
    And on my server side:
    Thread th = new Thread(){
                   public void run(){
                        try{
                             while(true){
                                  byte[] b = new byte[in.read()];
                                  int x=0;
                                  System.out.println("reading");
                                  r = in.read(b,0,b.length);
                                  if (r!=0){
                                       System.out.println(r);     
                                       img = Image.createImage(b, 0, r);
                                                            //other codes
                                       i get this error message:
    Exception in thread "Thread-0" java.lang.UnsatisfiedLinkError: javax.microedition.lcdui.ImmutableImage.decodeImage([BII)V
         at javax.microedition.lcdui.ImmutableImage.decodeImage(Native Method)
         at javax.microedition.lcdui.ImmutableImage.<init>(Image.java:906)
         at javax.microedition.lcdui.Image.createImage(Image.java:367)
         at picserv2$1.run(picserv2.java:70)
    Please anyone can help me here? is this the way to create the image on the server side? thx a lot

    here is exactly how i did it :
    while(true){
                                  byte[] b = new byte[in.read()];
                                  System.out.println("reading");
                                  r = in.read(b, 0, b.length);
                                  if (r!=0){
                                       Toolkit toolkit = Toolkit.getDefaultToolkit();
                                       Image img = toolkit.createImage(b, 0, b.length);
                                       JLabel label = new JLabel(new ImageIcon(img) );
                                       BufferedImage bImage = new BufferedImage(img.getWidth(label),img.getHeight(label),BufferedImage.TYPE_INT_RGB);
                                       bImage.createGraphics().drawImage(img, 0,0,null);
                                       File xd = new File("D:/file.jpg");
                                       ImageIO.write(bImage, "jpg", xd);
                                       System.out.println("image sent");
                             }Edited by: jin_a on Mar 22, 2008 9:58 AM

  • How to load images from client to oracle server

    Hi
    I want to load the image in oracle. when i tried to laod the iamge from my client(windows) to oracle server(linux)
    it is giving error. i wrotea pl/sql program to store the images in oracle database.
    but the server not reconzing the path of image wich is client. how to overcome this probelm. as iam new to oracle
    i dont know apex and DAD. can any help me with an example
    thak you

    In addition to Solomon, please read:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:6894565006210, that explains (again) why servers can't see clients and points to an sqlldr example @ http://asktom.oracle.com/pls/asktom/f?p=100:11:2928066747837319::::P11_QUESTION_ID:624423639385

  • How to copy image from client machine to server machine?

    Hi ,
    Im doing a project in web applications...im using tomcat 5.0....when clients (using different machine) upload a image i need to make a copy of that in my "webapps" folder...can u help to solve it?
    The following code is working only in my machine..but not working when i upload from remote machines....
    can u sort out?
    try
                   FileInputStream input = new FileInputStream(fileSource);
                   byte b[] = new byte[input.available()];
                   input.read(b);
                   input.close();
                   fileDest.mkdirs();
                   FileOutputStream output = new FileOutputStream(new File(fileDest, fileSource.getName()));
                   output.write(b);
                   output.flush();
                   output.close();
              catch(IOException e)
                   System.out.println(e);
              }

    Hi,
    I having same problem. did you find solution for your issue.
    Can you please give your source if you dont mind?
    Thanks

  • Images from dataset causing bad server request

    I'm using Spry for some time and find it really nice framework especially for data handling.
    One thing bothers me is that when trying to display images based on xml dataset (like <img src="{photo}") one false server request happens.
    Before updating the ds the browser tryies to load specified url, which is quite annoying.
    So far I've tried:
    1. spry state ready
    2. spry if many properly formulated options
    3. hiding that region with css display none and showing after ondatachanged notification
    none helped.
    Any help in that matter would be great.

    Please post a link to your site.
    Gramps

  • Need ap to acquire image from twain source to server

    I am looking for an activex control that works with CF to
    capture images to database or at least to the server. Any
    suggestuions?

    Will the twain source be connected to the server, *OR* will
    it be connected to a client machine on the network?

  • How to call image from OA_MEDIA directory

    Hi all
    i need to call a image from OA_MEDIA directory in my template ,would please somebody help me ,would u please share the syntax for this requirement ,
    Thanks
    Pratap

    Thanks Kavipriya for the prompt reply ,
    actually i also got this syntex in dev guide but not able to understand how to use this in template ,can i call a image (for testing purpose only ) from my c drive also ,if yes would please give me sample syntax if my image is residing in c:\assignment directory ,i will be thankful to you .
    thanks
    Pratap

  • Loading an Image from the database and display it on browser

    I do not know if this is even possible.
    At the moment, to load an image inside an Html page you need to use the <img src=""> tag. and in the src you put the path of the image. Now I would like to save an image inside the database.
    An option to still display the image on the browser would be that my service object, would load the object from the database (saved as blob) then save it somewhere on the Server, and the still use the <img> tag to load the image from that location.
    However I was wondering wheather there is another way to do it without saving this image on the server. that is loading the bytes from the database (or a location on the server) and provided these bytes to the jsp page to display the image.
    Is this possible? or?
    regards,
    sim085

    hmm ... ok .. that sounds good .. but that means that
    a servlet must exsist at all time to display the
    required image.Servlets are usually instantiated by the servlet container upon an incoming request.

Maybe you are looking for

  • E-mail signature does not appear in recipient's e-mail

    I send e-mails with a detailed footer that is not appearing in the recipients e-mail. My footer includes contact information, an image and a legal disclaimer. What causes this and how do I remedy it? Eric

  • My screen dims during phone calls but doesn't come back on after

    It seems for the past several weeks my phone seems to dim when I put it up to my ear to take a call but then the screen does not come back on when I take the phone away from my face like it is supposed to.  The screen seems to dim if anything comes w

  • Failover Cluster Scenario - Suggestions?

    I am attempting to create a 2 node SQL Server 2012 Failover Cluster and am trying to gather information about what might be a better configuration in my particular case. This is home lab environment in a single ESXi host and as such there really isn'

  • POTS/Analog Dial Access with PVDM3 and 3900? Possible?

    I have a PVDM3-16, 3925 and HWIC-CE1T1-PRI. I have a T1 terminating in the HWIC and the other end goes to an ATLAS 800. I dial into it with an analog v.92 modem. It provides dial-tone and a phone numbering setup. Sort of a self-contained phone system

  • In error console i'm getting this error document.all.languagelist undefined

    When I have loaded a website some of the submit buttons do not work. i.e selecting a search field then if submit is pressed nothing happens on the scree but in the error console the following appears document.all.languagelist undefined