Hello,
Do you call document.close() before calling Runtime.getRuntime().exec ?
Does iText fineshed its work?
Can you post a bigger piece of code?
Fabrizio
On 10/6/06, Goud, Srikanth <[EMAIL PROTECTED]> wrote:
Hi , I developed the reports using ITEXT, its really fast and easy to develop the .PDF files, my question is I developed and deployed in Weblogic Server in my local its working fine , than I deployed on the server so its writing the file on the shared directory, but its unable to open the file, below is code any suggestions.
As server is Weblogic8, installed on windows2003.
String fileName ="d:/rockport/ttsPDF/emptyContainer.pdf";
writer =
PdfWriter.getInstance(document, new FileOutputStream(fileName));
System.out.println("the out put file is :"+fileName); - its print correctlly - >d:/rockport/ttsPDF/emptyContainer.pdf
Runtime.getRuntime().exec("cmd.exe /C start " + fileName.trim()); -unable to open.I KNOW ITS NOT RELATED TO ITEXT APIThanks!
Srikanth Goud Gunday
LimitedBrands Technology Services
[EMAIL PROTECTED]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
