How can get the embed code (or URL) of my flash player ?
I want to implement a functionality such as in youtube to let
users to get the embed code of the player (or URL of the page).
How can I do this ?
thanks
sorry for the double post, my browser gave me error
Similar Messages
-
How to get the Response Code when a URL is launched from Web Dynpro
Hello Experts,
I have a Web Dynpro Application in which in one of its views i have an IFrame UI element in which i will show a resource stored somewhere ..
But before showing it i want to check if the resource actually exists. For this i have to check the HTTP Response code from Web Dynpro Application without setting it in the Iframe..
I am using the following code to get the Response Code:
try{
URL url = new URL("Some Url");
HttpURLConnection.setFollowRedirects(false);
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
connection.connect();
wdComponentAPI.getMessageManager().reportSuccess("Response code ="+connection.getResponseCode());
}catch(Exception e){
wdComponentAPI.getMessageManager().reportSuccess("Exception");
Now the Problem is whatever response Code occurs 403 (for No Proper Authorization), 404 (for Resource not found) etc..
i always get Response Code= 500 (which is for Internal Server Error) shown in the messgae i have printed.
Please let me know the correct way of getting the Response Code from Web Dynpro.
Also my resource is lying on a SAP Portal 6.4
Best Regards
Sundeep
Edited by: Sundeep Sethi on Feb 18, 2008 9:07 AM
Edited by: Sundeep Sethi on Feb 18, 2008 10:23 AMHi,
Check this code from /thread/5242768 [original link is broken] if it works.
try{
URL myurl = new URL("http://calendar.google.com");
URLConnection connection = myurl.openConnection();
if(connection instanceof HttpURLConnection) {
HttpURLConnection httpConnection = (HttpURLConnection) connection;
HttpURLConnection.setFollowRedirects(true);
httpConnection.setRequestMethod("HEAD");
httpConnection.connect();
System.out.println("Response = "+httpConnection.getResponseCode());
catch(Exception e) {
// print exception
Regards,
Harini S -
How to get the source code of an HTML page in Text file Through J2EE
How to get the source code of an HTML page in Text file Through J2EE?
Huh? If you want something like your browser's "view source" command, simply use a URLConnection and read in the data from the URL in question. If the HTML page is instead locally on your machine, use a FileInputStream. There's no magic invovled either way.
- Saish -
How to get the source code of an HTML page in Text file Through java?
How to get the source code of an HTML page in Text file Through java?
I am coding an application.one module of that application is given below:
The first part of the application is to connect our application to the existing HTML form.
This module would make a connection with the HTML page. The HTML page contains the coding for the Form with various elements. The form may be a simple form with one or two fields or a complex one like the form for registering for a new Bank Account or new email account.
The module will first connect through the HTML page and will fetch the HTML code into a Text File so that the code can be further processed.
Could any body provide coding hint for thatYou're welcome. How about awarding them duke stars?
edit: cheers! -
How to get the itunes code of iphone 5s
how to get the itunes code of iphone 5s
I am from india ....
the itune setting doesnot give me none option in my phone ....
And i dont know the itunes gift code ...
So pls give me the detail how to get the itunes code and what is it ?It would have been better if you had added a reply on your original post instead of starting a new thread : https://discussions.apple.com/thread/5514146?tstart=0
iTunes gift cards are an alternative way of paying for content from the store, but they aren't available in all countries (and the cards are country-specific, they can only be used in their country of issue). The gift card field on the account set up page is optional, and as gift cards aren't available in India you won't be able to fill it in anyway.
There are instructions on this page for how to create a new account without giving credit card details and will give you the 'none' option : http://support.apple.com/kb/HT2534 - the instructions won't work with existing accounts, and if you didn't use those instructions when creating your existing account then you will need to enter credit card details before you will be able to use it to download content -
How to get the java code of the message mapping
how to get the java code of the message mapping,
I mean to ask how to get the background java code of the message mapping(graphical mapping).
And where to view it?Hi Satya,
The JAVA code for graphical msg mapping is in below folder:
\usr\sap\<SID>\<DVEBMGS10>\j2ee\cluster\server0\temp\classpath_resolver
Here all the mapping jars are there in this folder.
Just decompile these jars and you can see the code.
Thanks,
Rajeev Gupta
Message was edited by:
RAJEEV GUPTA -
Where to find the pcui_gp components ,How to get the source code of those
Hi All,
Can anybody tell the exact location wher the pcui_gp components will be stored if they are not appearing.
And another question is how to get the source code of the pcui_gp for customization.
anybody working on these compoents please help me.
answers will be rewarded.
thanks and regards,
anandHi Arun,
I am unable to see the pcui_gp components in the DTR ,I require this in order to get the source code of one of its component.
Can you please tell me the step by step procedure getting those pcui_gp components from J2ee engine to the dtr or NWDI.
If there are any documents on pcui_gp components exclusively please do forward to my mail id [email protected]
Thansk and Regards,
Anand. -
How to get the source code of Java Concurrent Program?
Hi,
How to get the source code of Java Concurrent Program?
Example
Programe Name:Format Payment Instructions
Executable:Format Payment Instructions
Execution File Name:FDExtractAndFormatting
Execution File Path:oracle.apps.iby.scheduler
Thanks in advance,
SenthilGo on Unix box at $JAVA_TOP/oracle/apps/iby/scheduler
You will get class file FDExtractAndFormatting.
Decompile it to get source code.
Thanks, Avaneesh -
How to get the source code of a PRT application in the portal
Hi!
Does anybody know how to get the source code of a PRT application in the portal?
Thanks in advance,
CelsoCelso,
If its Java-based code have a look at the properties of an iView that belongs to the application in question and copy the value of the Code Link parameter e.g. 'com.sap.pct.hcm.rc_vacancyrequestov.default'.
Search the Portal installation directory under /j233/cluster/server/ for a .par.bak file of the same name, removing .default from the codelink parameter
e.g. com.sap.pct.hcm.rc_vacancyrequestov.par.bak
Copt this locally and import into Netweaver Developer Studio. You will have to decompilte the class files with a decompiler such as DJ Decompiler or Cavaj (search with Google).
Cheers,
Steve -
How can get the console window name of the current form?
How can get the console window name of the current form?
Try the various get methods of the viewObject such as getQuery:
http://www.oracle.com/webapps/online-help/jdeveloper/10.1.2/state/content/navId.4/navSetId._/vtAnchor.getQuery%28%29/vtTopicFile.bc4jjavadoc%7Crt%7Coracle%7Cjbo%7CViewObject%7Ehtml/ -
How to get the java code of the standard functions
How to get the java code of the standard functions in xi
Example , hoh get the java code for a node function - removeContext.hi
Click on the Standard Function.
Hold Ctrl+Shift
right click on the standard function to view the context menu. You will see options to view the source code by exporting
regards
krishna -
HT4236 How can get the pictures from my iPod to my iPad without a computer?
How can get the pictures from my iPod to my ipad without a computer?
Then there is absolutely no way to get the pictures from the iPod to the iPad unless you import them to your computer and then import them inor iTunes and sync them to the iPad.
Where did the pictures come from? Which iPod version do you have? -
How can i download and install and really use Adobe Flash Player on my MacBookAir with OS X 10.8.2 ??
Hello Allan,
thank you for your promt message. I have download the installer like many times before and install the flashplayer like many times before, too. But it does not work ... only getting the black screen ... but then, after checking some settings and defaults i realize that i have to switch in Safari > Security > Plug in to status activated !!!
Shame on me and sorry for wasting your time, but i started with Mac 3 weeks before and have to leave windows-thinking !!! But i am convinced that mac is the better way ...
By Soeren -
How will get the source code of all the tables in a given schema using SQL?
Hi All,
How can we get the source code of all the tables in a given schema using SQL?
Thanks in Adv.
JunuTry something like...
set heading off
set pagesize 0
col meta_data for a96 word_wrapped
set long 100000
SELECT DBMS_METADATA.GET_DDL(object_type, object_name, owner) ||';' AS meta_data
FROM dba_objects
WHERE owner = '<SCHEMA NAME>'
AND object_type not in (<list of stuff you do not want>); -
How to get the ANSI codes in the program
Hi,
In my program, I have to get the ANSI codes 30 and 31 in the program. After getting those codes, I have to concatenate with some other text and display in the report.
Can someone tell me how to get these ANSI codes in the program..?
Is there any function module to get the ANSI codes in the program. or Is there any other way to get the ANSI codes in the program.
Please help me. It is quite urgent.
Thanks in advance,
Best Regards,
Pradeep.hi check this ....
How can I get Ascii value of any letter
How can I get Ascii value of any letter. Is there any function?
This is how you do it :
report demtest.
data : c.
field-symbols : <n> type x.
data : rn type i.
c = 'A'.
assign c to <n> casting.
move <n> to rn.
write rn.
This will convert 'A' to 65.
Tom Demuyt
How to convert ascii value to character.
If I give input as 65 (ascill value) I want display 'A'.
Below logic is for convert from character to ascii value , now I want to know how to convert ascii value to character.
Naveen
report demtest.
*going from A to 65
data : c value 'A'.
field-symbols : <n> type x.
data : rn type i.
assign c to <n> casting.
move <n> to rn.
write rn.
*going from 66 to B
data : i type i value 66.
data : x type x.
field-symbols : <fc> type c.
move i to x.
assign x to <fc> casting type c.
move <fc> to c.
write c.
regards,
venkat.
Maybe you are looking for
-
PKGBUILD parser in Python.
I've wrote PKGBUILD parser in Python and thought someone else might also want to use it. Here's a little example of how it works # python Python 2.5.2 (r252:60911, Jul 8 2008, 21:21:10) [GCC 4.3.1 20080626 (prerelease)] on linux2 Type "help", "copyri
-
all of a sudden i can't drag and drop pop email into an icloud folder. Anyone know why not.
-
PDF-based forms for cash-book documentation
Dear colleagues, Can you please help us with one guestion: Are there any ready PDF-based forms for cash-book documentation (forms KO-3 and KO-4) in SAP?
-
I have a 1st gen Touch and some apps now have updates that say they do not work for pre-iOS4. Since I cannot upgrade to iOS4 with 1st gen Touch, I now have to choose to (a) delete the app or (b) never use "Update All" again and put up with it always
-
Very simple connection question
New user here - about to begin learning how to use Logic Studio. I'm working on a MacBook Pro and would like to know how I'd go about being able to connect a synth, or mini disc etc. with it's stereo phono outputs, to my laptop. I'd need some kind of