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

Similar Messages

  • 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 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!

  • 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

  • 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?

  • Submission Error, Bad Server Request

    I have a client that has attempted to submit her form four times. Each time she receives the following error.
    "An error has occurred. There was an error communicating with the server. PLease try again later. [ref:SJ9idS4Oa3EM-g5INcixlw, server BadRequest]"
    Where does this originate from? Adobe or her server?
    Also, when she returns to the link (that she saved before trying to submit) all of her attachments are still in the HTML form, but all of the filled in data fields have been deleted.
    We want to figure this out in case another client has the same issue. Any help would be appreciated.
    Thank you!

    I am having the same issue.  I sent the form link to the clients (an HTML form) and they are getting the same error message as mentioned above after saving, reopening, and then attempting to submit the form.  I have also tried and am getting the same response.  This is on both Mac and Windows and Firefox and Chrome.  The error message references this: [ref: gunBmFz3UUDyGr7c-cnT2A, serverUnknownError]
    Thanks,
    Nicole

  • Request a .jpg image from Indesign server via script?

    hello,
    I have a scenario in which I am switching from using QuarkXpress Server to Indesign Server. With Quark Server I am able to request a jpg image from a quark Document. Basically, by providing the right parameters, I can get a JPG preview of what a picture box or text box looks like in the Quark Document.
    I need to do something like this with InDesign Server. Is it possible to write a script specifying an Indesign Document and maybe a TextFrameID or PictureFrame ID and get a JPG rendering of it?
    I know I can export the whole document as a PDF but I need to be able to get images of single textframes/pictureframes or grouped frames.
    Does anyone know if this is possible or how to do this?
    thanks in advance!!!
    -Lloyd

    Or maybe the only way to achieve this (hopefully not, though) is to export the whole document as a JPG, and then find a way to programmatically crop the part I need based on the coordinates of the textframe/pictureframe (or grouped framed) that I need?
    thanks in advance,
    Lloyd

  • On my iPad, when I try to open a movie I purchased from iTunes, I get "The requested URL was not found on this server."

    On my iPad, when I try to open a movie I purchased from iTunes, I get "The requested URL was not found on this server."  It's on my laptop but when I play it there, it 'jerks' every couple of seconds.  How can I fix both these issues?  Thanks!!

    Select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History on your computer.

  • Neboot, 10.5.2 image from OSX Tiger Server fails to new macbooks

    (I apologize in advance, I looked through several threads but could not find answer
    to my situation. I also apologize because I tried to get help at the Bombich forum,
    but an admin marked it "solved", when in fact it isn't.
    Thus I turn to the Apple faithful for help with this matter.)
    Using NetRestore 3.4.3, and I'm imaging MacBook (early 2008) labs,
    with 26 MBs in them.
    How I Do it: I get one MB, and using Leopard from OEM, I then patch
    up to Leo 10.5.2/QT 7.4.5/Safari 3.1 and I install the elementary apps
    necessary ( Kid Pix 3, Kidspiration 2, and Nystrom).
    I also install Office 2004, patched up to 11.4.1, and iWorks 08.
    I verify the image is correct, and then firewire connect the MB
    to my Master machine, a MBP running 10.5.2 and NetRestore 3.4.3.
    I then create the NetRestore image from the MB, and then create the NetInstall
    nbi for the image. I then copy the items from the MBP to my imaging server,
    a PPC iMac running OS X Server 10.4.11, via FW.
    I then set the Netboot options in the Server, and reboot the server for good measure.
    I then start hooking up the 25 MBs into a Cisco 2950 switch, which the
    Server is hooked into. I then boot all machines into NetBoot ( cmd-n)
    and image ( slowly) all the machines.
    The Problem:
    Once the images have been created on the machines, and after reboot,
    I then log into as the local admin, then set the server binding.
    Once the binding is complete, I log out, and then verify the binding sticks.
    I then log in as a managed user.
    This is where the image "breaks". The managed user becomes locked out
    of most Universal apps, and apps that should run under Rosetta,
    come up with their icons changed to the "ghostbusters circle"
    (Circle with line through it), and give the error " This application cannot run
    due to it not being supported on this architecture".
    However, if I log back in as local admin, the applications act as normal.
    Also, if I log in or log out as a managed user, the system often hangs,
    either at login or logout, leaving me with just the Leopard space screen,
    and will sometimes force me to force quit the
    system to get it to respond again.
    Contacting Apple, their only suggestion was to start again, but to use SUI
    from a Leopard Server Disc, which I didn't have but they were nice enough
    to send to me anyway, and create the NetBoot off of that.
    I decided however to give NetBoot one more try, and tried it again,
    this time making sure I repaired permissions on the original image
    (MB) before making the NetBoot image in NR 3.4.3.
    I still recieve the same problems afterwards.
    I then did a test in which I created both a second local admin account and
    a local standard account, and both acted like a managed account:
    apps could not be used, "ghostbuster circles" and log in/ log out hangs.
    I'm hesitant to use Leopard SIU, because I read all the reports of it's slowness,
    but is there something in 10.5.2 that breaks Netbooting?
    I've had no problems with Tiger Images in the past, so I'm pretty sure
    i got my steps down.
    Update in my testing :
    Today I decided to try and troubleshoot the image again, so this time
    I took the existing MacBook I used to make the image from,
    and I re-installed the problematic applications again,
    as well as delete the secondary admin and the standard user
    from my config, as I would add these later after the computers
    have been imaged.
    I then ran fix disc permissions on the image drive, and now I am using
    Net Restore 3.4.4, to remake the image andwhen done, I will re- create
    the nbi for the netinstall.
    I will test out the image shortly to see if it will work.
    ok, follow-up:
    after completing my new image and re-creating through NetRestore 3.4.4,
    as well as new nbi's, I copied them over FireWire to my OS X Tiger .4.11 Server.
    Set Netboot in Server Admin, made the Leopard image the default, restarted
    the server.
    Attached a new MacBook IC2D 2.4ghz to my Cisco Switch that the Server is on,
    and attempted NetBoot.
    Net Restore came on and began it's duty. 36 mins later, the image was on,
    verified, and the machine was rebooting.
    Upon reboot, I logged into the MacBook, as the primary admin,
    and verified the UniBi apps and the PPC apps would launch correctly.
    I then created the Standard account ( Student) on the machine,
    and the logged out and then back in as Student to test.
    All Privalges for Student were correct, and the UniBi and PPC apps functioned
    correctly.
    I then logged out as Student , back in as Primary Admin ( me) and then
    went to System Prefs and created the Secondary Admin (Teacher) for
    the machine.
    I then logged out as Primary Admin, and then logged in as Secondary
    Admin, and verified the UniBi and PPC apps would launch.
    I then recieved the "This App is not supported under this architecture"
    error with the UniBi and PPC apps under this secondary admin.
    I logged out, and then logged back in as Primary Admin (me), and everything
    still was working correctly under my account.
    I then trashed the Secondary Admin ( Teacher), and created a new secondary admin
    (called simply School).
    I then logged out as Primary Admin, logged in as School, and same errors
    occur, "This App is not supported under this architecture"
    error with the UniBi and PPC apps.
    I then called one of the PPC app makers Tech Support to see if they had seen
    anything like this under Leopard.
    Of course they hadn't, but after digging around, we decided to try this fix:
    Logged in as Primary Admin, I did a get info on the folder of the app
    that was" breaking".
    I then added the Secondary Admin to the Get Info panel and gave them
    a full ride ( rw) privalges to the folder. I then told the Panel to
    push them down ( propagate) to all children within the folder, including the app.
    I then closed out of the Panel, logged out as admin, and then logged in
    as Secondary admin. I then tested the app, and success, it launched
    perfectly!!!
    So at this point, I would say there is something more to the point
    problematic with Leopard .5.2 's ability to distinguish privileges
    to non Leopard based apps. Apps like the iLife 08 suite, and
    iWorks 08 didn't exhibt any of the problems I saw with Unibi
    and PPC apps under the secondary admin account; they worked as they should.
    At this point, I will add this "fix" to my list of drudgery that I do
    in finalization of the machine, like setting binding to the local
    OS X Server for Managed Accounts, which is next on my list to test,
    as that is also problematic with these Leopard .5.2. installs.
    Ok, so in part two to continue with my problems
    with 10.5.2 image and using NetRestore 3.4.4:
    I took the image out to test in a wide deployment.
    So with my same Tiger Server having the image,
    and my trusty Cisco 2950 switch,
    I set up 8 Macbooks to begin the deployment.
    The first four I turned on and got connected to the
    Server and they began to Netboot fine.
    MacBooks five through 8, I then tried to boot them up
    and get them in line to begin netbooting, but after taking up to
    10 minutes to connect to the server, they all came up with the following
    error:
    "You do not have read privileges to the source image. Please check
    the permissions on the image and try again."
    The first four were still imaging just fine, the next four would just hang
    at that error message.
    So I waited for one to completely finish out of the first four,
    and when it did, I tried to netboot one of the second group
    of four, and after 10 minutes, it connected and began it's process.
    I then tried another in the second group of four, and got the same
    "privileges on image" error.
    So what gives?
    Why can I only do four machines at a time? I know the image is
    fine and its permissions are ok, because I can do four machines
    at a time. It's when I try to do more than that then the problem
    occurs.
    Is this a Leopard issue or a Net Restore 3.4.4. issue?
    Well, just for grins, I put a PPC eMac onto the CISCO 2950,
    and attempted a Netboot from it with the Leopard Universal image,
    just to see if it would mount ( the emac is 700 mhz, so it would not
    support Leopard anyway).
    It attempted Netboot, but came back with the same
    "cannot read the disc image error" as seen on the
    MacBooks.
    But the image worked fine on the first four MacBooks,
    only when I attempted to NetBoot #5 did it cause the error.
    Could trying to put on that fifth Macbook corrupted the image somehow?
    or the NBI?

    While patiently waiting to see if anyone else is having my same issues,
    I tried a Firewire hookup to my 10.4 server directly
    of Macbooks 5 and 6, and tried a Netrestore through Firewire to the Macbooks
    off the same image in my NetBootSp0's Resources/Disc Image folder,
    and it restored fine to both , with only one error, that came up when it
    tried to auto-restart, but I suspect that having to do with it
    being unable to shut down the 10.4.11 Server more than anything else.
    So:
    1. the Image is valid, I can firewire restore from it at the server level
    no problem.
    2. It did do four MacBooks before saying it was "corrupted" and
    "Could not read the image".
    3. The Machines all boot into the Leopard NetBoot screen just fine
    through the Cisco 2950 switch, and get the nbi to bring up, but
    at the point it should auto run, it throws up the "corrupted" and
    "Could not read the image" errors.
    Unfortunately, I am under a deadline to image 540 MacBooks within the
    next 30 days, and my patience is wearing thin......

  • How to see the image from server

    hi,
    I have uploaded an image to server using following code. I want to see the image from server now. When i open this page then it show image. But when i want to see this image from server then it shows blank. Whats the problem of my code? Give me solution.
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <%@ page import="org.apache.commons.fileupload.*" %>
    <%@ page import ="org.apache.commons.fileupload.servlet.*" %>
    <%@ page import ="java.util.*" %>
    <%@ page import ="java.io.*" %>
    </head>
    <title>User Registration page</title>
    <body>
    <%
    boolean isMultipart = ServletFileUpload.isMultipartContent(request);
    FileItemFactory factory=new org.apache.commons.fileupload.disk.DiskFileItemFactory();
    ServletFileUpload upload =new ServletFileUpload(factory);
    List items = upload.parseRequest(request);
    Iterator iter = items.iterator();
         while (iter.hasNext()) {
         FileItem item = (FileItem) iter.next();
         if (!item.isFormField()) {
         String path=application.getRealPath("/");
         File tempfile=new File(item.getName());
         File uploadfile=new File(path,tempfile.getName());
         item.write(uploadfile);
         %>
         <br>
    <img src="<%=uploadfile%>" height="100" width="100">
    <br>
    <%=uploadfile%>
    <%
    item.delete();
    %>
    </body>
    </html>Is there anybody can help me.
    With regards
    Bina

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <%@ page import="org.apache.commons.fileupload.*" %>
    <%@ page import ="org.apache.commons.fileupload.servlet.*" %>
    <%@ page import ="java.util.*" %>
    <%@ page import ="java.io.*" %>
    </head>
    <title>User Registration page</title>
    <body>
    <%
    String filename = "";
    boolean isMultipart = ServletFileUpload.isMultipartContent(request);
    FileItemFactory factory=new org.apache.commons.fileupload.disk.DiskFileItemFactory();
    ServletFileUpload upload =new ServletFileUpload(factory);
    List items = upload.parseRequest(request);
    Iterator iter = items.iterator();
         while (iter.hasNext()) {
         FileItem item = (FileItem) iter.next();
         if (!item.isFormField()) {
         String path=application.getRealPath("/");
         filename = item.getName();
                         File tempfile=new File(filename);
         File uploadfile=new File(path,tempfile.getName());
         item.write(uploadfile);
         %>
         <br>
    <img src="<%=path+filename%>" height="100" width="100">
    <br>
    <%=uploadfile%>
    <%
    item.delete();
    %>
    </body>
    </html>

  • Can i fetch images from my remote server to UIImageView or a preview thumbnail in ios app?

    consider i have 1000 images in my hosting, i want all those images in my ios app. It is like ,in one screen around 9 thumbnails of image must be loaded from the webserver .And when i swipe the screen to the right another set of 9 thumbnail images must be loaded , it goes on untill all the image from the server are loaded. and when i click on a thumbnail the image must be shown in full screen. When i add more image to the hosting,  the swiping of  pages and thumnail previews must also dynamically increase. is there any way to achieve this concept ??

    khankmk wrote:
    if yes,then can u tell me how to achieve it?
    Again, to give you the answer you have requested - yes, I can.
    This is roughtly equivalent to asking a doctor how to remove an appendix. It isn't the most difficult surgery in the world, but it does require some training. It is not something I am able to explain. I could tell you to setup a web server with REST interface to serve images, metadata, and structure. Then write your app to populate some browser tables based on that data. Somehow, I don't think that explanation is going to provide much help.

  • When trying to EMAIL from BEX Broadcaster get a 400 bad HTTP request

    When we try to run an email from BEX broadcaster, we get the message below.   We looked in the ICM and it says the request is too large, but when when I copy the request and paste it into the browser it works,  any ideals?
    400 Bad HTTP request
    Bad HTTP request
    Error:     -21
    Version:     7000
    Component:     HTTP_FILTER
    Date/Time:     Mon Apr 05 17:54:18 2010
    Module:     http_auth.c
    Line:     494
    Server:     biprd_BIP_11
    Error Tag:     
    Detail:     illegal request

    Hi David,
    Not exactly sure what the issue is here, but would like to give you some pointers that might help anyway. The error message you see in the ICM would be where I would start. You need to remember that the HTTP request is more than just the URL that you paste into the browser, the URL is one part of it, but there are a heap of other things that go into making the full HTTP request (e.g. POST data, header values etc...)
    I would also refer you to this forum post: Re: 400 Bad HTTP request that references SAP Note 864878
    Hope this helps,
    Simon

Maybe you are looking for

  • Rental movie on iPad

    I have rented movie to go on my iPad - I sink my iPad with main computer and the rentals movie are gone on iPad and main computer that I rent them on. Where are they going? and how do I get them back on?   because I have never watched them yet  and h

  • Error -200!. help anybody

    tried to reistall iTune 7.01 and this error message comes up!suggestions what to do?

  • Clustering & class/jar visibility

    we have a 'dev' instance on box 1...we can deploy a web app using the 'exploded directory structure', and put our sybase jdbc driver zip file in lib under j2ee/home...works great. we have a 'test' instance on box 2...with 2 instances of oc4j running

  • Can´t find the ´ create a new post´ link

    I would like to post a question in the software category, but I can´t find the link to post a message. I know it is supposed to be on top of the category, but I don´t see it on screen. Why could be this?

  • How to create automatic tasks when create a new room?

    Hi experts, I have a problem, i don´t know if this is possible. I want create a room, and i want that appear several tasks automatically, such a template, is it possible? Thanks in advance, Regards,