PDF gets launched at server location only

PDF gets launched at server location only

Hi,

I have an application through which I create a PDF and then launch it, using the following code:

PdfWriter.getInstance(document, new FileOutputStream(file_name); document.open();

Post this, I create my PDF and launch it using:

Process p = Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler "file_name");

Problem is, when I deploy my application in Tomcat and try to launch the PDF on some other machine but not where my tomcat server is deployed using the IP Address (http://IPAddess:8080/), the PDF gets launched on the server but not on the machine I am accessing the application.

Kindly Help! I am completely confused!

View Answers









Related Tutorials/Questions & Answers:
PDF gets launched at server location only
PDF gets launched at server location only  Hi, I have an application through which I create a PDF and then launch it, using the following code...:8080/), the PDF gets launched on the server but not on the machine I am
upload the pdf file only - Struts
upload the pdf file only  plz tell me,in my web application i want to upload only pdf file.but i m getting the problem when anyone change the extesion of EXE or TEXT with .pdf its also upload.plz give me response ASAP plz
Advertisements
upload only pdf file - Struts
upload only pdf file  in web application,i want to attach only pdf file but if i change the extension of EXE or TXT files with PDF Extension its also upload ,but i want to upload only pdf file not only the extesion but also
Convert BLOB to PDF and save it to a location
Convert BLOB to PDF and save it to a location  I have a requirement to convert blob(stored in a DB table) back to .pdf in the UI(for the users... it has to convert each blob to a pdf and zip it, which the user should be able
How to read a log file from server location and send a mail when exception occurs.
How to read a log file from server location and send a mail when exception occurs.  HI, How can i read the 2GB to 4GB log file from server. and i need to send a mail when exception occurs. Thanks RajeevADS_TO_REPLACE_1
display multiple image file or pdf file in multiple column of a row from server or database
display multiple image file or pdf file in multiple column of a row from server or database  hello sir I have uploaded the file to the server and I want to display that file to the user page but I want to display that file
Write to PDF
Write to PDF  Hi, Fairly new to this. I want to create a PDF file as a server call, with text/images sent to the app. Seeing that this will have to be a plugin, how do I go about making it a valid plugin for the server
PDF to Image
PDF to Image  Java code to convert PDF to Image
j2me location updates programming
j2me location updates programming  kindly please, assist me with with a j2me code for obtaining and sending GPS location updates periodicaly to the server IE; LATITUDE, LONGITUDE, SPEED, TIME. Am using netbeans IDE and PHP
location of htdocs in ubuntu
location of htdocs in ubuntu  Hi, I am working on Apache server... is the location of htdocs in apache on Ubuntu server? Thanks   Hi, The default location of htdocs in Ubuntu is: /var/www But it all depends
Location Reminder
Location Reminder  Hi, i am planing to do a project called location... mark thar place in my mobile, and later if i visit that location,my mobile has to give a reminder. How to mark a location on mobile using GPS? Please give me
cursor location
cursor location   hi,please how to change cursor location by java code ,i use this code but not change the location JTextArea a=new JtextArea(); if(resultText.equalsIgnoreCase("class")){ a.append("a { \n }"); PointerInfo
Program in javascript to show the current location
Program in javascript to show the current location  Hi All, Actually in my application ..i wanted to updated the current location each time it gets... location in JavaScript? Thanks
How to identify the remote system that gets connected to our - Struts
How to identify the remote system that gets connected to our    Hi, I am doing a project which works on providing security.In this my pblem is any user from anywhere and any location if they get registered into our site how
location - MobileApplications
location  I want to do project in which when i go to college my mobile should get automatically to silent mode using the location where the college... location that come on our mobile display and silent the mobile. im new to J2ME
Remote Location Handeling - RMI
Remote Location Handeling  I have application where I want main control from one location and have to connect two more locations remotly and have to handle it.So what should I use in my application Server/RMI or web application
pdf marking
pdf marking  Hi i am working on online answer sheet evaluation using jsp. It need pdf marking.drag and drop images onto pdf. please help me regards reshma
pdf marking
pdf marking  Hi i am working on online answer sheet evaluation using jsp. It need pdf marking.drag and drop images onto pdf. please help me regards reshma
File location in FileOutputStream - JSP-Servlet
File location in FileOutputStream  Hai, For uploading a file i... will not work in another machine (that is software installing server machine). And if i give the file name only, it stores or uploads the file to the folder C
pdf to text
pdf to text  how to covert pdf file (which contain table and text) into word or excel file using itext api
pdf generation.
pdf generation.  i want to generate the data which is stored in mysql data base in pdf format with php. how i will do
Google Penguin 3.0 Launched
Google Penguin 3.0 Launched nearly after year year of previous Google Penguin update After a prolonged wait of nearly one year Google Penguin 3.0 is lunched last Friday. Google has confirmed that they have released the Google
How to insert a single page PDF file into another multipage PDF file using iText? - Java Beginners
How to insert a single page PDF file into another multipage PDF file using iText?  Hi ALL: I have two PDF files. PDF-A.pdf is a multipage PDF file. PDF-B.pdf is a single page PDF file. I want to insert PDF-B into PDF-A only
PDF document
PDF document  hello, How to Open a PDF document on iPhone??   You can use theseADS_TO_REPLACE_1 There's a whole toolkit built in which lets you render PDF pages to a UIView. Check out: CGPDFDocumentCreateWithURL
pdf to database
pdf to database  Hi, I want to read the data from pdf(pdf file is having 50 fields) which is placed in database file and store that into MySQL database. I want this process untill the rows completed in the database file
upload pdf
upload pdf   i want to dispal content of pdf fil and stored into database in human readable form using php . how can i do
PDF Comparator
PDF Comparator  Hi Guys, I need to develop a program which should compare a set of pdf files stored in one folder with a set of pdf files stored in another folder. Both folders should contain the same no. of pdf files with same
Creating files of PDF's thumnails
Creating files of PDF's thumnails  Hi, How to create PDF's thumbnail in PHP? Thanks   Hi, You should have ImageMagick support on your server. You can then use following code to create PDF thumbnail image. <?php
mkmapkit location search
mkmapkit location search  How to create a location search function that will allow the current location search on the MKMapKit
pdf restriction
pdf restriction  i have certain pdf files that have restrictions on it as copy ,read,extract text etc.. i want to remove restriction by java code. so is there any way to do this? plz help thanks in advance rohit
itext pdf
itext pdf  i am generating pdf using java i want to do alignment in pdf using java but i found mostly left and right alignment in a row. i want to divide single row in 4 parts then how can i do
how to load pdf on html
how to load pdf on html  how to load pdf on html
open pdf in uiwebview
open pdf in uiwebview  Hi, How to open pdf in uiwebview? Thanks
Download PDF file
Download PDF file  How to download PDF file with JSF
How to track how many hits my website gets?
How to track how many hits my website gets?  Hi, Tracking a website... the website traffic. Tell me How to track how many hits my website gets? Thanks... traffic. Check the tutorial How do I track how many hits my website gets. Thanks
mysqldump structure only
only? Provide me the syntax to take mysqldump structure only. Thanks   Hi, You can use -d option with mysqldump command to take the structure only... for backup or transfer to another SQL server (not necessarily a MySQL server
Creating PDF in JAVA
Creating PDF in JAVA  How create pdf in java ? Take value from database for particular PDF
pdf to voice converter
pdf to voice converter  is it possible to implement PDF to speech converter by extracting text from pdf and then text to speech
ModuleNotFoundError: No module named 'location'
ModuleNotFoundError: No module named 'location'  Hi, My Python... 'location' How to remove the ModuleNotFoundError: No module named 'location... to install padas library. You can install location python with following
iphone location framework
iphone location framework  Which framework do i need to add to get the iphone current location in iPhone frameworks?   Add core location to your existing frameworks. CoreLocation.framework   
Extracting position of a particular string from a PDF
Extracting position of a particular string from a PDF  I have a pdf form. I want to knw the exact position(location) of a particular string of that form. Using iText I have extracted all the string from the PDF form, but nt able
Pdf Viewer
Pdf Viewer   How to diplay the pdf files in java panel using... = file.getName(); return filename.endsWith(".pdf"); } public String getDescription() { return "*.pdf"; } } For the above code, you
4 Awesome High-Tech Gadgets Just Launched
4 Awesome High-Tech Gadgets Just Launched Our home is getting smarter alongside our cars, our workplaces, and even our workout. High-Tech gadgets... drone ADS_TO_REPLACE_1 GoPro Karma foldable drone just launched by the ace
Digit Only text field
Digit Only text field  How should we accept digits only in a textbox? (using JSTL only, without Javascript
mkmapview zoom to current location
mkmapview zoom to current location  How can i zoom map to the current location
ModuleNotFoundError: No module named 'only'
ModuleNotFoundError: No module named 'only'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'only' How to remove the ModuleNotFoundError: No module named 'only' error
pdf format - JSP-Servlet
pdf format  hi Sir, how to convert text format into PDF format. thanks & regards, vijayababu.m
PDF Generation for unicode characters
PDF Generation for unicode characters  Hi, How a PDF file having unicode characters is generated in JSP
neo4j-server.properties file location
neo4j-server.properties file location  Hi, Where is the location of neo4j-server.properties file in Linux? Thanks   Hi, Location of neo4j-server.properties file: This file is present in /etc/neo4j directory of linux
ModuleNotFoundError: No module named 'pdf'
ModuleNotFoundError: No module named 'pdf'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'pdf' How to remove the ModuleNotFoundError: No module named 'pdf' error

Ads