Embedded Files, how to use URLs
We have some preliminary code which can embed files within PDF documents. We were trying to extend it by having the FS entry of the Filespec dictionary be /URL and the F entry an RFC 1738 URL. While it displays correctly in Acrobat, attempting to open it gives an error 14.
Are URL Filespecs prohibited in embedded files?
Offhand, I can't think of any explicit restriction in the language that prohibits it - but in restrospect, it really doesn't make sense that you can have a non-embedded file in the embeddedfiles name tree ;).
I'll make a note to get that fixed in the next version of the spec...
Similar Messages
-
How to use "url.openStream()" . What this function does?
how to use "url.openStream()" . What this function does?
Edited by: sahil1287 on Apr 16, 2009 10:02 PMhttp://java.sun.com/javase/6/docs/api/java/net/URL.html#openStream()
http://java.sun.com/docs/books/tutorial/networking/urls/readingWriting.html -
How to use url iview???
how to use url iview???
HI all
I need to use url iview as back button in the same page with saptransaction iview.
url iview to used as back button to the home page.
pl suggeest how to use url ivew....what sort of properties need to be used.HI chander
thank u for ur response
I have done an aplication in which i have called sap transsaction ivew usind quick link property in .html(page) language.
where we will be fetching saplogon server using this sap trans saction ivew into the portal frame work .
when i loging into the server and log off with in the portal frame work i am not able to go to my aplication home page. since back/ forward link are disabled.
atleast i want know how to enable those links.
or else
i thought to use url ivew along with sap transaction ivew with a same page with diffrent layouts.but that is also fine.
and one more option was
i thought it to be used as pop up as so that when user login and log off into the server they will close that seperate window.
for that i have set the ivew property
"launch in a new window property As : display in a seperate head less portal window"
but even that is also not working.
i dont know y that property is not working
finally i have coded with java script , now i am able to open the portal in a seperate window but with headed portal.
for that i have coded some thing like below mentioned.
problem here is still i am getting the headed portal
but i want head less portal.
here headless in the sence i want it like the preview of the ivew.
please help me in this regard how to get the head less portal when i click on the link.
Regards
Gayathri -
I need this file "How to Use the Content Conversion Module in JMS Adapter"
Can someone send me this file:
"How to Use the Content Conversion Module in JMS Adapter"
I am not able to find it.
Thanks
Antonellopls refer guide
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-adapters/how%20to%20use%20the%20content%20conversion%20module%20with%20xi%203.0%20j2ee%20jms%20adapter.pdf
Regards,
Swetha. -
How to use URL class instead of Socket
Hi all. I am developing a small inventory control system for a warehouse.
I am suing a Java desktop application that connects to a servlet via Internet.
I have been searching the net how to use JSSE for my application since i am new to secure sockets and JSSE.
Since I havent implemented security In my current system yet, i am using URLConnection conn = url.openConnection(); to connect to a servlet.
However, in a good tutorial that I found about JSSE, sockets are used directly for connection, insted of URLCOnnection. They use the code like this: SSLSocketFactory sf = sslContext.getSocketFactory();
SSLSocket socket = (SSLSocket)sf.createSocket( host, port ); Since, using sockets is overly complex for me, I want to make use of the URLConnection class instead to keep it simple.
Could anyone please tell me how to make use of the URLConnection class to establish secure http connection.
by the way, the tutorial is here:
http://www.panix.com/~mito/articles/articles/jsse/j-jsse-ltr.pdf
thanks.Here you go. The following code snippet allows you post data to http URL. If you have to do the same to https URL , please let me know.
OutputStream writeOut = null;
HttpURLConnection appConnection = null;
URL appUrlOpen = null;
//data to be posted.
String data = "This is the test message to post";
byte[] bytesData = this.data.getBytes();
appUrlOpen = new URL(""Your Servlet URL");
appConnection = (HttpURLConnection) appUrlOpen.openConnection();
appConnection.setDoOutput(true);
appConnection.setDoInput(true);
appConnection.setUseCaches(false);
appConnection.setInstanceFollowRedirects(false);
appConnection.setRequestMethod("post");
appConnection.setRequestProperty("Content-Type","application/text");
appConnection.setRequestProperty("Content-length", String.valueOf(bytesData.length));
writeOut=appConnection.getOutputStream();
writeOut.write(bytesData);
writeOut.flush();
writeOut.close();
String inputLine;
StringBuffer sb = new StringBuffer();
reader = new BufferedReader(new InputStreamReader(appConnection.getInputStream()));
char chars[] = new char[1024];
int len = 0;
//Write chunks of characters to the StringBuffer
while ((len = reader.read(chars, 0, chars.length)) >= 0)
sb.append(chars, 0, len);
System.out.println("Response " + sb.toString());
reader.close();
sb=null;
chars = null;
responseBytes = null;
****************************************************************************************** -
Hi, how to use URL encoding in jsp
hi, how to apply URL encoding in jsp for a string, could u pls suggest some ideas to use URL encoding in jsp
thank you in advancehi, thnx for the reply, but my problem is to use url encoding method
i would u like to know how to represent in jsp program i have asp code some thing like this
href='/project/tel_number.asp?team=<%=DbRecTeam("id")%>&name=<%=Server.URLEncode(DbRec("name"))%>'
i would like to know how replace that Server.URLEncode stmt in jsp, could u pls suggest some equivalent method for the above stmt
thanx in advance -
How to use URL for http adapter
Hello,
Iam working on IDOC2HTTP scenario. Here the end user system they have given only url address userid and password.End user is htttp. Please can u help me how ot use that.
Thanks in Advance.
Regards,
AbhiramHi Abhiram,
you can put there the URL directly or link to a destination where you store the address.
Have a look to [Configuration of HTTP receiver adapter|http://help.sap.com/saphelp_nw2004s/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/frameset.htm]
Regards,
Udo -
Post Author: madbird
CA Forum: WebIntelligence Reporting
HI,
scenario is
I hope use url to open the report,and refresh the report data,but I didn't the user use the "refresh data" button to refresh the report's data.How to do that?
regardsPost Author: madbird
CA Forum: WebIntelligence Reporting
Thank you for your attention, amr_foci .
I created a Web Intelligence report,there will be more than 30 companies use.The company only allowed to see the Company Data. I want to use the url of the way, from my company in the development of the system to open report, and refresh reported Table data.but do not want users to use the toolbar of "data refresh" button to refresh the data .
Now the question of identity authentication system, as well as statements by url open the question of Has been resolved, but it can not shield statements through the pages of "data refresh" button.
In addition, I now used by the business object XI system is posted on the JAVA environment.
Regards, -
How to use URL iview parameters??
Hi all,
i have created a URL iview to www.gmail.com, now my requirement is i dont want to give user id and password and it should logged me in directly so for that i need to make use of URL iview parameters, but i am not aware of how to use it, can anybody help me to resolve this issue??
Thanks in advance,
Regards,
Ameya.Hi Ameya,
Basically, you need to create a HTTP system, then create a URL Iview giving this http system as a reference in it.
Check this <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=389042">thread</a> for details.
You can also refer to
<a href="http://help.sap.com/saphelp_nw70/helpdata/en/f5/eb51730e6a11d7b84900047582c9f7/frameset.htm">SAP Help Library</a>
cheers~
avadh -
How to use URL CHIPs in Page Builder?
Hi all,
I have encountered a problem of using URL CHIPs in CHIP Catalog.
I cannot find any documents on how to use the CHIPs in CHIPs Catalog of Page Builder. I just simply want to display a URL in NWBC. I suppose that there is an input in URL CHIPs for URL addresses and then the URL can display. However, it is not the case.
I have already looked at the template of URL CHIPs (WDR_TEST_PAGE_CHIP_PROV_2) and still I don't understand how to use the URL CHIP.
Please give me some hints on this one.
Regards,
DominicHi.,
Check this article : [Integrating goole maps in WDA using page builder|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0bca5ae-3c5c-2d10-938d-a81787f59ace?quicklink=index&overridelayout=true]
also this hlep docu : http://help.sap.com/saphelp_nw70ehp2/helpdata/en/20/361af8255f4a33a2e8441956cc8f63/content.htm
http://help.sap.com/saphelp_tm80/helpdata/en/b1/914b8c3fb648babc568967d430a9f8/content.htm
hope this helps u.,
Thanks & Regards,
Kiran -
Photo labs Embedded Profile--How to use ?
i have the colors of the image the way i want them on my monitor
i assign the print labs profile - the colors shift to somthing i don,t like
my question Is this the file i should take to the lab or do i then have to work
on my colors again trying to return them to what they were before i assigned the
profile ?Lambda's (and Lightjets) are notoriously lacking in the ability to print certain colors, so, if it's in the range of colors where the Lambda is deficient, you might very well see a big color or tonal shift even when you convert to their profile.
How the profile was made can be critical to how well it performs in the real world. The software package and the specific settings, as well as how the target was read, can all make a big difference, not even to mention rendering intents.
Assign profile can be useful in determining just how close an output device is to your RGB working space and how much work the profile is going to have to do when it does convert the pixel values, but it's generally best left to those who understand when and how to use it.
If your working space happend to be something really wide like ProPhotoRGB, and you have large areas of saturated colors, then I wouldn't be at all surprised to see you running into problems with a Lambda. -
Embedded Fonts, how to use in all controls?
When I embed either external fonts or system fonts they work
great for say the label control but not for others such as the
progressBar, on top of this any control that wont use an embedded
font cant be used in conjunction with an alpha related effect as
the font will be 100% alpha the entire time. Whats the deal with
some controls not using the specified embedded font?Hi again....
I must ask again..because I dont think I understand completly how to get speedfan to work in my other profil...( User).
I installed speed fan as admin and configured it proper according to this forum.....
It seems to work just fine.......
Before I logout and switch user I make sure that speedfan is not running and that there is nothing in its autostart.
I then logout and switch to the other profil.......there I put an speedfan-ikon on its desk....
When I try to launch speedfan in this profil I get a warning:
UNABLE TO SAVE TO C:\program\speedfan\speedfanparams.cfg
It seems that I only can run speedfan as admin......
Am sorry to bother u guys again...but u seem to be wise in this matter.....
I want to be able to run the computer in this other profil, not in admin.
In this other profil I would like to have speedfan running and showing me the temps of the computer.....
As I understand its the most secure way to run computers......
Best regards
Mr W -
Jarred .java file, how to use it?
for a naked .java file, we can use -classpath to import it to our source files.
but for a jarred .java file, can we import it into our source file for use?
i tried for few hrs, it is impossible.
if u have used a jarred .java file before, pls give me a hand.
thxbut for a jarred .java file, can we import it into our source file for use?No. And this has nothing to do with jar files at all. You don't import .java files, you import .class files.
-
Urgent : Help me Upload a file via FTP using URL
Hi
I am having a problem with an error (The system cannot find the file specified)
The files FTPPut.java and TESTING.txt are both in /src directory.
import java.net.*;
import java.io.*;
public class FTPPut {
public static void main(String[] argv)throws Exception{
int BUFFER = 1024;
URL url = new URL("ftp://ftp.scit.wlv.ac.uk/pub/");
File filetoupload = new File("TESTING");
URLConnection urlc = url.openConnection();
byte data[] = new byte[BUFFER];
FileInputStream fis = new FileInputStream(filetoupload);
BufferedInputStream bis = new BufferedInputStream(fis, BUFFER);
OutputStream os = urlc.getOutputStream();
int count;
while ((count = bis.read(data, 0, BUFFER)) != -1) {
os.write(data, 0, count);
System.out.println("uploaded sucessfully...");
bis.close();
os.close();
Exception in thread "main" java.io.FileNotFoundException: TESTING (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at FTPPut.main(FTPPut.java:11)
Edited by: AceV on Jan 10, 2008 7:28 AMimport java.net.*;
import java.io.*;
public class FTPPut {
public static void main(String[] argv)throws Exception{
int BUFFER = 1024;
URL url = new URL("ftp://ftp.scit.wlv.ac.uk/pub/");
File filetoupload = new File("TESTING");
URLConnection urlc = url.openConnection();
byte data[] = new byte[BUFFER];
FileInputStream fis = new FileInputStream(filetoupload);
BufferedInputStream bis = new BufferedInputStream(fis, BUFFER);
OutputStream os = urlc.getOutputStream();
int count;
while ((count = bis.read(data, 0, BUFFER)) != -1) {
os.write(data, 0, count);
System.out.println("uploaded sucessfully...");
bis.close();
os.close();
} -
'Open URL or file' - how to use a relative file path?
I have a click box on a slide that I want to use to open an instance of a file (ie a PDF, a JPG, etc) in a new window, then when the user closes the window the Captivate demo continues.
My plan is to distribute this file with the published project and have it sit in the same folder as the project files.
I think that I have worked out all the processes to do this except how to correctly set up the click box. In the click box properties I have 'Open URL or file' on success, but how to enter the information in the URL text box is challenging me. An absolute path to the file on my computer works fine. Can I specify a relative path so Captivate defaults to using a file stored in the same folder as the published project?
I have attached a sample of the file I want to use.Hi there
See if the link below helps.
Click here to view
Cheers... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks
Maybe you are looking for
-
PI for PO creation in ERP_4.0
Dear experts: in SRM 7.0 the following entries exists in table BBP_FUNCTION_MAP for business object "Purchase Order" BUS2012 CreateFromData1 ERP_3.0 CL_BBP_BS_ADAPTER_PO_CRT_ERP10 BUS2012 CreateFromData1 ERP_4.0 /SAPSRM/CL_SOA_ADPT_PO_CRT_ERP BUS2012
-
Hi All, I am having problem with my Queues in XI. For example 10 messages are passing thru my XI system. In the 2nd one gets fails. Remaining 8 messages will be in Queue. We can see in SMQ2 transaction and manually we have to clear the queue in this
-
HT4898 Why is Apple downgrading sync support for Mail with iCloud?
In the past, if I didn't move forward when Apple moved forward, all that happened was that I did not have access to new features. This time, with the demise of MobileMe and the introduction of iCloud, if I don't move forward I lose features, but even
-
What happened to mini bridge. CC2014. Please bring it back!!
All of a sudden, I realized that mini-bridge was gone. I can't stand the regular Bridge. Please bring it back. I may have to go back to CS6 because I can't work in Photoshop without mini-bridge. What is the status of bringing it back???
-
Martin Evening Photoshop Lightroom 3 book
Just purchased the above book. Woould like to know where I can get th images he uses in the book so i can follow the chapters much better. thanks tim