How to add image in PDF using JspDyn and what is the path to keep images
Hi anyone help me out to get this issue solved...
I'm creating PDF on the fly but I'm unable to get the image in it. It says Invalid path if i give the path like this Image image =new Image( request.getWebResourcePath() + /images/MyLogo.gif","picture Mylogo.gif");
And also I have tried like this
com.lowagie.text.Image img = com.lowagie.text.Image.getInstance("MyLogo.gif"); document.add(img);
I have kept the image in /images folder.
Still i'm facing path problem....
Please guide me to resolve this issue..
Regards,
Joseph
Hi Joseph,
Your images will be stored under..
NWDS path :
dist/images/your_image.gif
Server path:
E:\usr\sap\DP4\JC04\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\portalapps\your_par_name\images\your_image.gif
you can access the image from this server path..
->
request.getPrivateResourcePath() will give you the path upto ..
E:
usr
sap
DP4
JC04
j2ee
cluster
server0
apps
sap.com
irj\servlet_jsp
irj
root
WEB-INF
portal
portalapps\
come back 2 directories back upto..
root\your_par_name\your_image_name
Try this and let me know.
Hope it helps.
Regards,
Karthick
Similar Messages
-
How do I delete music from my iPhone and what is the best way to add and delete music?
How do I delete music from my iPhone and what is the best was to add and delete music to the iPhone?
See Here...
iPhone User Guide
and here
http://www.apple.com/support/iphone/syncing/ -
have an Adobe PRO 11 user converting a word Document to PDF using PDFMAKER and all of the numbering is disappearing from left column,. Has anyone had this happen and if so what is the fix?
Is it possible to post a sample page some place for us to try out (dropbox or acrobat.com)? Is your Acrobat updated? What version of WORD are you using?
-
Function module: why do we use FM and what is the purpose of using FM
hi,
Can any please explain. Why do we use FM?
What is the purpose of using FM ?
Where we are using FM and for what tables in R/3 ?
I could be thankful to you if any one answer above questions.
ArunHi,
We go for creating FM when there is a chance of using the same code in different reports in R/3.
Suppose I have a requirement say, to display the Payer Name for every sale order.
This is most common requirement in any project.
You can create a FM say READ_CUSTOMER_NAME in SE37.
Write a select statement from the table VBAP to fetch the Payer Name based on the Sales Order.
Now you can activate the FM and it is ready to be used across all the reports in R/3.
Need : To avoid redundant coding and to modularize the code.
If you want to see the list of Standard FMs, got SE37 --> press F4 and you'll get all the SAP standard FMs.
For customized FMs (User defined), type Z* or Y* and press F4.
Hope this helps a bit !!!
Regards,
Balaji V -
How to add a Cipher Suite using RSA 1024 algorithm to the 'SSL Cipher Suite Order' GPO
Following a VA test the Default Domain GPO has been set to enable the SSL Cipher Suite Order. Following the change Symantec Endpoint Protection Manager doesn't work properly as the the Home, Monitors and Reports pages are blank and an Schannel error is
logged in the SEPM server's event log.
I have spoken to Symantec and I have been told that we need to allow the RSA 1024 bit algorithm but they can't tell me which cipher suite this would be. I have looked in the GPO setting and can't see an RSA 1024 suite but have found some in this article:
http://tools.ietf.org/html/draft-ietf-tls-56-bit-ciphersuites-01
I want to know how to add an additional cipher suite into the setting safely. Am I able to just add the suite into the GPO setting (eg TLS_RSA_EXPORT1024_WITH_DES_CBC_SHA) or do I need to do anything else beforehand?
If anyone has any advice regarding this or cipher suite orders and troubleshooting SSL problems it would be much appreciated,
Thanks
ChrisHi Chris,
Based on my research, RSA_EXPORT1024_DES_CBC_SHA is a previous cipher suite, which is supported, you can enable it use
SSL Cipher Suite Order policy setting under Administrative Templates\Network\SSL Configuration Settings.
More information for you:
TLS/SSL Cryptographic Enhancements
http://technet.microsoft.com/en-us/library/cc766285(v=WS.10).aspx
Best Regards,
Amy -
Neo2: Which bios should I use? And what's the deal with SATA?
I'm fixing to put together a new box using the MSI K8N Neo2 Platinum. In taking various preparatory steps, I happened upon this forum. I'm very alarmed by the apparent fact that there is not a single good bios out there yet. 1.2 reportedly sucks. 1.3 reportedly sucks. Especially if one wishes to overclock, as I do. I intend to go to 250+ FSB, 1:1. People are reporting things like not even being able to increase the voltage adequately!
Well, it seems a safe bet that some people have been able to overclock all they want, or else the Neo2 would not have achieved its generally accepted status as the best possible socket 939 motherboard, particularly for overclocking. That means there's a bios out there that I'd be well-advised in using. If it's not 1.2 or 1.3, what is it? And what's this 1.52beta I've heard about which supposedly fixes everything? Is that for a competely different board?
Now, as for SATA. I am going to be using a single SATA drive. I've read something about how "3 & 4 are locked, but 1 & 2 aren't". I am not able to translate that sentence into anything especially meaningful to me, but the gist seems to be that using a drive on the 1&2 port will, because of an Nforce3 bug, prevent one from overclocking past 230 FSB. So, does this mean I will need to use the other SATA port for my single drive if I want to go past 230? Or is this old news, long since fixed somehow?
Thanks in advance!Unfortunately I am not sure about the bios version.
But with SATA and overclocking the speed is not locked on ports 1 & 2 but 3 & 4 are locked. Basically when you overclock your system and your drive may run into problems. As far as I am aware from what I have read in the forum there is no limit on OC'ing with the drive in 1 or 2 but you can get sporadic issues
The general guideline is when overclocking use SATA ports 3 & 4.
Hope this made a little more sense (it was difficult for me to put into words) -
Can I still use CS3 and what is the cost to update or get another licence?
Hello, I still have DW CS3, however I have not used it for awhile now. My questions are below.
Is it still usable? and or how outdated is CS3?
What is the cost to upgrade to the current version and where is the best place to purchase if I should decide to?
I currently have it installed on 2 machines. How do I uninstall it on one of the machines to be able to install it on a 3rd machine?
Thank you in advance for any help with these questions...very much appreciated.1. It's usable but very outdated by modern HTML5 and CSS3 standards.
2. There is no upgrade option, it's too old. You can purchase CS6 which is now 5 versions back from the current Creative Cloud version (CC 2014.1.1). CS6 is no longer receiving updates either so for the most part it's an "as is," legacy software. Or you can join the Creative Cloud and get the very latest DW for approx $20/month.
3. No matter which product version you have, a single license allows you to have DW installed on only 2 machines at one time. However, you can use only one at a time. If you want to install on a 3rd machine you must deactivate one of your others or purchase another product license. But CS3 is no longer offered or supported by Adobe. It's too old.
Nancy O. -
ValueObjects...who uses them and what are the advantages?
I have a lot of information crammed into my application that manages a ton of things for organizations. I am recoding the application as part of a refactor/upgrade/v2 version and am interested in looking into adding VO's if they are still worth it. I use the Mate Framework for MVC and IoC and declare my bindable variables in the manager classes, then populate them as needed.
Is it better to have a collection of VO's in another folder and just use those? Other than having code hinting for the value names and data types, what are the benefits? Is having another 30 class files (VO's) in a project better or worse for performance? Thanks!VO's will save you time when typing code, ctrl + space autocomplete and ensures that data is passed around correctly.
If you use object you dont have compiler checking of properties as its dynamic class.
They will help people to understand your code.
Do it! -
I started with LR 4.0 and I now have LR 4.4. I have a new camera, Olympus OM-D E-M10. I would like to start using raw files and I need LR 5.7 to support this. Is there some upgrade allowed for existing LR users? How do I go about getting upgraded to LR 5.7
$79:
Products -
any help with this would be mucgh appreciated - i think I need to look at my back-up files, but don't know where to find them in Itunes?
IOS how to backup and restore http://support.apple.com/kb/HT1766
If you haven't done a backup of your phone as suggested by the link, then your pics are gone. If you do have a backup then you can restore to it. -
I got my iphone 4 water damaged. It will not turn on. I need to replace it ASAP. How should I do this? Costs?
You should have put it in a bag of rice. If you had, it probably would have turned out okay.
-
I am trying to locate all of my music... It is not under my account, not in my Itunes, and I don't know anything about the cloud. Please assist.
Unless you subscribe to itunes match, icloud has nothing to do with music. Are you syncing music from a computer's itunes to a device?
-
How to use Smart cut and what are the restrictions to use this
Hello,
How to use Smartcut and what are the restrictions to use this.
is it possible in version 9.
and is it safer to use it in real iproject mplementation?
Thanks in advanceHi
read more about smartcuts here http://download.oracle.com/docs/cd/E12825_01/epm.111/bpmui_admin.pdf
read "Managing smartcuts"
Regards
alexander -
How to add attachments in pdf -URGENT
Hi All,
I need information about how to add attachments to pdf in webdynPro. I am unable to find related topics in Forums. Sample code,examples,or suggestions would be helpful.
Thank you
Regards
RaviHello Ravi,
Please take a look at: Add attachments to the Interactive form of a Web dynpro application
Please take a look at my reply there on Mar. 29, 2007. I am not sure but i assume that you are using Web Dynpro for Java. Attachment capability is available with NW04s SP10 (both runtime and NWDS). Although, SP09 contains the required web dynpro runtime changes but the API has only been made part of SP10. Follow the note numbers provided therein.
Best Regards,
Krish -
How to automate EPS to PDF using code (only Print not save as option)
Dear All,
How to make eps image to PDF using code (either Script / .net code). only using Print Pdf (Ctrl+P) option not using save as option.
Using Saveas option it is possible to convert EPS image to PDF but it is not properly alligned like Print PDF option.
Note: refer Attahced screen shot
Thanks in advance,
AbusufiyanProbably someone else has more insight, but I think with JavaScript at least the printing-options are not fully accessible.
Anyway, in case the eps-files do contain vector-data You would probably be better off creating the pdfs from Indesign, Illustrator or with Acrobat (or Acrobat Distiller).
Maybe you are looking for
-
Moving objects in Keynote, always aligning
Okay, updated to ML (from SL) and updated my Keynote. And now I'm annoyed. Prior to the update, I had precise control over my arrangement of objects when designing a slide. Now, when using the mouse, objects jerk around the slide to align themselves
-
How do I unlock macintoch HD hardrive in order to reset the mac to factory settings?
How do I unlock macintoch HD hardrive in order to reset the mac to factory settings?
-
Failed to executed the stored procedure when i used the command object in ADO to call the packages' function!!!! the result is --- Microsoft OLE DB Provider for ODBC Drivers error '80040e14' [Microsoft][ODBC driver for Oracle]Syntax error or access v
-
Planni values at cost element group level instead of at cost element level
Is it possible to plan values at cost element group level instead of at cost element level in BI? Similary I have another question for financial statements. Is it possible to plan values at financial statement level instead of at G/ in BPS or SEM? Th
-
I am looking to edit the title and name for several photos on an iPad. Photos app does not allow you to edit the name. Does anyone know of an app that can do this.