Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-07-2008, 01:21 PM
Member
 
Join Date: May 2008
Posts: 1
shweta.ahuja is on a distinguished road
Opeing multiple pdf files in different acrobat reader windows
By clicking a submit button i'm calling a javascript in a jsp which uses "window.open" function and opens a jsp. In this jsp i call a function for opening a pdf file using
"document.location.href". in this i have specified the URL to open this pdf.
Now i want that if after this pdf is opened, i again chose some option and click the submit button and a second pdf to opened. But right now if i click the submit button the second time, the second pdf replaces the older one in the same wondow. I want that the second pdf to be opened in separate window.

Actually the problem is that the pdf file is opening in the same Acrobat reader. I want that if i click the submit button second time or any number of times, it should open the pdf in different acrobat reader.


Please help to get me some idea
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-07-2008, 01:29 PM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 1,136
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Before open check for the existing one.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
Want to make your IDE the best?Vote Now
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 05-07-2008, 01:33 PM
rjuyal's Avatar
Member
 
Join Date: Mar 2008
Location: Delhi, India
Posts: 93
rjuyal is on a distinguished road
command line
Try this

AcroRd32.exe /n "path-of-your-pdf-file.pdf"

/n is for new instance.

i guess it will work.
__________________
Life was much better in 2021
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Please solve the problem related to PDf reader kavithaprabhaker New To Java 3 05-07-2008 01:21 PM
A simple DOM reader Java Tip Java Tips 0 01-03-2008 10:24 AM
Windows ".exe" files tim New To Java 3 12-28-2007 10:25 PM
how to convert mpeg files to .wav files christina New To Java 1 08-06-2007 05:14 AM
help with file reader jason27131 New To Java 1 08-01-2007 04:03 AM


All times are GMT +3. The time now is 07:23 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org