Displaying image from different domain in an applet
can anybody tell how to load & display an image from a different domain. the image is being generated dynamically on that server so that i cannot save it.
You should sign your applet to be able to do it.Isn't that normally only necessary for Security
relevant procedures, like locally reading and writing
(saving) files? ( -> So, is that also true (sec.
rel.) for "donwloading" from "different domain"
(URL)? )Yes, it is a security violation. Maybe arguably not as bad as local file system access, but it could still be a problem. The main problem would be turning an unsigned applet (therefore from an unknown source) into a DOS application which starts pounding on all sorts of other servers, including the local host.
As to the problem, you could have a servlet on your host which gets the image from the other host for you. The servlet could be very generic with the applet passing all the info needed to get the file for it.
Similar Messages
-
Display problem from different domain
Hi
I am not able to make my display(DISPLAY variable). When I m exporting the display variable from the same domain as the linux box is present. It is working fine but when I trying to export the DISPLAY variable from different domain and use the GUI. it is throwing error. Please help. Also I am able to ping from my window machine to Sun Solaris
operating system: sun solaris 9 (5.9).
Error Message:
(gnome-calculator:5511): Gtk-WARNING **: cannot open display:
Can anybody tell me how and what all we need to check to configure DISPLAY.
I mean the software required and firewall configuration.I trying to export the DISPLAY variable from different domain and use the GUI.Different domain or different network?
I am able to ping from my window machine to Sun SolarisPing means nothing in this case because:
1. ICMP =! TCP
2. You need to have allowed connection from Solaris to your local machine (port 6000) and ping is not capable to check that.
3. You need to check this on/from server (Solaris)
Or you can use X11Forwarding so you don't need to allow connection as mentioned above.
I mean the software requiredDo you mean client SW or what? -
How can i show images from different folders in image gallery
Hi All,
i have downloaded and executed photo viewer image gallery application.
in that we r showing images sequentially what we have defined in xml file.
but i want show images randomly or i want show images from different gallary.
Can any one help me.
thanks
Raghu.WaqarLFC7 wrote:
On Windows:
Ctrl + click on the songs you want to group - then right click and click get info and it will ask you if you want to get info for multiple items click YES then under album name it whatever you want and them songs will be grouped into 1 album.
Mac:
Same procedure but hit SHIFT instead of CTRL.
Actually, it's right click or ctrl click, same as windows. -
Problem Displaying image from blob
Hi all,
I m using,
Database : 10g Rel 2
Frontend : DevSuite 10g
OS : WinXp
Browser : IE 6
Problem : In my forms i m displaying images from blob column but some of the images are not displayed. I have tried with all image formats available in combination with all available display quality but no luck. What could be the reason for it and how do i solve it?
Can anyone help me plz?
Thnx in advance.
ImtiazHello,
It is very difficult for us to "guess" what images you can read and what others you cannot.
Maybe you could provide more information on images that are not displayed ?
What is their native format ?
Francois -
My iphone 4s suddenly displays images from Yahoo, Google, and Flickr at a low resolution. I have IOS 7.0.4. My phone camera works fine, but any web based photo content from Safari, Yahoo images, Google images, and Flickr all come in pixelated and low res. What's the deal?
It happened to me but later I figured out that cellular signal was not that great and so the Internet was very slow. It took me about 2 minutes to get the full resolution picuture on either of the app you've described. Try to get faster internet either by wifi or good signal and then check.
-
Display image from table!
Hi,
I have in my aplication a table user, where we can save is image:
t_user{id_user, name , adress..., foto(blob),foto_size(number),foto_name,foto_mime_type};
An user can upload his imageand save it in his table!
I wanted to display his image, but i onle found infomation how to show images saved in htmldb_application_files:
how to display image from tables?
Thank's in advanceLook at the sample application. It shows you how to do this
-
Display Images from HTMLDB_APPLICATION_FILES Table?
How do I display images from the HTMLDB_APPLICATION_FILES Table?
Are the contents full available potentially for display? Or only after I have written them to another display?
Please advise what I need to do or what corrections below is required:
The calling procedure is a item in a SELECT statement as part of a report query:
<P>
<(img src="#OWNER#.download_HAF_file?p_file= ' || nvl(ID,0) || ' height="50" width="50" )>, HAFimg<P>
The Procedure is a adaptation of the Chapter 8 Exercise of the 2 day developer guide:
CREATE OR REPLACE PROCEDURE "DOWNLOAD_HAF_FILE" (p_file IN NUMBER) AS
v_mime VARCHAR2(48);
v_length NUMBER;
v_file_name VARCHAR2(2000);
Lob_loc BLOB;
BEGIN
SELECT MIME_TYPE, BLOB_CONTENT, NAME, DBMS_LOB.GETLENGTH(BLOB_CONTENT)
INTO v_mime, lob_loc, v_file_name, v_length
FROM HTMLDB_APPLICATION_FILES
WHERE ID = p_file;
-- set up HTTP header
-- use an NVL around the mime type and
-- if it is a null set it to application/octect
-- application/octect may launch a download window from windows
owa_util.mime_header( NVL(v_mime,'application/octet'), FALSE );
-- set the size so the browser knows how much to download
htp.p('Content-length: ' || v_length);
-- the filename will be used by the browser if the users does a save as
htp.p('Content-Disposition: attachment; filename="'||SUBSTR(v_file_name,INSTR(v_file_name,'/')+1)|| '"');
-- close the headers
owa_util.http_header_close;
-- download the BLOB
wpg_docload.download_file( Lob_loc );
END Download_HAF_File;
/Message was edited by:
luddite1812I believe you put HTML "pre" tags around your quote (with square brackets, I can't type them here because they'll be escaped).
If the example below looks formatted then using "pre" works, if not...then ignore me ;)
begin
select
count(*)
into
v_count
from big_table;
end; -
How to grant access to sharepoint for the user from different Domain
Hi All
I need to grant access to user from different domain.
Where I can able to view the users in people picker (different domain).
Thanks in Advance.
RajHi
Trevor Seward
Sorry to disturb
you again.
I am trying to restrict user from search from other domain, say we have domain A and Domain B, where I am trying to restrict all the user from domain B (Search users)for a site collection. I have found couple of stsadmin command to do so. but none
of them works. Below are the commands I have tried
STSADM.exe -o setproperty -pn peoplepicker-searchadforests -pv "domain:<Name>.domain" -url "http://Site URL"
stsadm -o setproperty -pn peoplepicker-searchadcustomquery -pv “(canonicalName=<Name>.domain*)” -url "Site URL"
we have two way trust.
Can you suggest any solution.
Thanks
Raj -
Mapping users coming from different domain in AD
HI,
We have configured vintela SSO which is working.Now we are trying to add another domain but it has been unsuccessful.
We have imported the users coming from other domain in CMC->AD, and UseFDQNDirectoryForServers parameter in registry.
The issue is our complex krb5.ini errors as "cannot find kdc for realm" for the user account coming from the other domain.The existing domain kinit is successful.
Please help in resolving this issue!!! We need to have users coming from different domain to use vintela SSO.
Thank you.well you're mixing things up a bit.
The usefqdnfordirectoryservers is used to map in groups. If the groups show up as well as the users that piece should be complete.
the krb5.ini is for logging in users manually, it must conatin the KDC for every domain that may contain users that need to log into BO. It also must have a KDC or capath entry to define all the parent domains as well (even if they do not have members that need to login. This is how the krb5 is used to verify transitive trusts. Then all users that are not in the default domain must logon as username@ DNSDOMAIN.COM where the DNS domain is entered in all caps aqnd represents the FQDN of theidomain the users bewlong to. Now if not logging in manually this should be a big problem.
So for SSO (vintela anyway) this process is automatic, although you may want to configure vintela with site information so it doesn't randomly use all your DC's Site can be set following the steps at the end of business objects note 1261835 (complete and vintela only editions).
In order for vintela to work properly the value entered in CMC > Authentication > Windows AD > service principal name must = an SPN thet was created on the account that is running the SIA/CMS
Regards,
Tim -
Display images from a SQL database
I want to display images from a SQL database. The images are in a table under a specific column and are stored as a link to the image. How would I display the images from the column in LabVIEW?
I'm using LabVIEW 2013 version 13 and SQL Server 2012
Paul Power
I have not lost my mind, it's backed up on a disk somewhereHi PauldePaor,
I hope you are well.
Once you have pulled the data from the database into LabVIEW in a string form (or path), you can simply use the Read BMP File (Or jpg, png depending on the file type) VI.
More information can be found here:
http://digital.ni.com/public.nsf/allkb/02971A30F5D8FC6986256A0A004F11A0
Kind Regards,
Aidan H
Applications Engineer
National Instruments UK & Ireland -
How to display image from wamp if the data type i use is blob?
please help me with the problem of displaying image from wamp if data type is blob. Thanks
Don't store the images in the database. Store the image file names in the database and put the images in a folder.
-
Displaying images from url's (9i)
Is it possible to some how display images retrieved from a url within an image item? I know its possible to display images from within the database and from a file but these images are stored on another server and all i have is a web address, can it be done? Also is it possible to dislpay a series of images that are retrieved in this way in a report?
Any help is much appreciated.Hi,
this would require a Java Bean to be written. Its not natively possible in Forms
Frank -
Unable to load swf from different domain through html wrapper in Chrom
Hi All,
I am trying a embed a swf from different domain. My html wrapper was in one domain and swf was in another domain. I have embedded the swf into the html wrapper. When i run the html file it is loading the swf in firefox and working fine. But when i try to run the same html in chrom or IE the swf is aborted. I have crossdomain.xml file in both the servers which is also allowing both the domains. I was not able to figure out the issue. Can anybody help on this.
regards,
Jayagopal.Are you getting any errors or warnings?
-
Loading modules from different domain
when I load modules from the same location where is main application, everything is fine. But when modules are loaded from different adrress i got following error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.utils::LoaderUtil$/isRSLLoaded()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\uti ls\LoaderUtil.as:525]
at mx.utils::LoaderUtil$/http://www.adobe.com/2006/flex/mx/internal::processRequiredRSLs()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\utils\LoaderUtil.as:259]
at mx.core::FlexModuleFactory/getRSLInfo()[E:\dev\4.5.1\frameworks\projects\framework\src\mx \core\FlexModuleFactory.as:582]
at mx.core::FlexModuleFactory/update()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\cor e\FlexModuleFactory.as:470]
at mx.core::FlexModuleFactory/moduleInitHandler()[E:\dev\4.5.1\frameworks\projects\framework \src\mx\core\FlexModuleFactory.as:819]
any ideas what might be wrong?
thanks for any help in advanceThis is a link to testing application:
http://michalnpe.homeip.net:55001/bin-release/LoadModuleApp.html
you can see source code of this app.
Let's say we want to run module from different domain.
so insert following address for crossdomain.xml and module (into TextInput in the applicataion above) .
http://a2s.pl/crossdomain.xml
http://www.a2s.pl/npe/softmgr/Michal/wymiana/TestModule.swf
here is the code that loads the module:
protected function loadModule(event:MouseEvent):void
testloader.url = moduleAddress.text;
//testloader.loadModule();
public function setup():void { // run before loading modules
Security.allowDomain("*");
Security.loadPolicyFile(crossdomain.text);
var request:URLRequest = new URLRequest(crossdomain.text);
var loader:URLLoader = new URLLoader();
loader.load(request); -
Calling a BSP from different domain
Hi.
I have a problem calling a bsp application. I am using bsp app. system for a logon screen(this is whats causing the problem.) SAP is in the domain company<b>as</b>.com and the calling application is in the domain company.com.
The logon screen is displayed but when users try to logon the logon screen just gets displayed again. I have found out this is because of the different domains and the cookie mysapsso2.
When calling the same url from my machine everything works fine. Also if I try to bypass the system and logon directly to the bsp application (default.do) it works. The reason Im using the system app. is to enable the users to change their passwords according to the rules in R/3.
Does this make sense and does anyone have some ideas how to fix my problem?
Regards
JonThere is a pretty simple answer here - it just doesn't work. This has to do with how the browser stores and sends cookies. Cookies are only allowed to be passed within the same domain. This a protection that keeps a bad website from reading the content of cookies from other websites (potentially gaining sensitive information).
There isn't too much that SAP can do about this since this is a mechanism enforced directly by the browser.
Maybe you are looking for
-
Infoview: A request was cancelled
When I go into infoview and click on the actual name of the report, instead of clicking "schedule or history" I am prompted with the parameter dialog box right away. I notice there are only 2 parameter dialog boxes when there needs to be 7 parameter
-
How and where can I combine several pdf files?
I have written a Guide Book for Music Teachers in Word, converted it into a pdf file and would now like to insert sheet music files written with Sibelius Notation Program which have also been converted into pdf files, since they are otherwise not com
-
Macbook Pro- shortly after upgrading to free software upgrade to Mavericks- 10.9.5- has suddenly been freezing up, but went more directly to 'shutting down,' CRASHING on its own. Most of the time, if I'm even able to successfully get the laptop tur
-
Best way to synchronize multiple FPGAs
I have multiple PXI-7833R FPGAs and I need all of the AIs to be sampled at the same times (across all FPGAs). As I sample all of the individual AI channels, I buffer the data (write to DMA), scan it and check for a user defined trigger in a different
-
How can I zoom in to audio waveforms for precision edits?
In FCP 7, you can zoom into audio waveforms for precise edits. In FCP X, there seems to be a fairly coarse resolution to how far you can zoom into audio waveforms. I rely extensively on being able to see where subtle aspirants start and end, but I ca