You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ecs-dev@jakarta.apache.org by Sarvesh Akella <sa...@yahoo.com> on 2001/09/14 11:39:17 UTC

file open in browser on request by client

Hi,

1)I need to open a pdf file in browser on request by
client from my java application.
just open it.
What do i have to do?? 
2)if i want to give only view access to that file.I
mean no save as option.then  what else do i have to
do??

if possible send a cc to sarvesh.akella@xansa.com
rgds,
sarvesh



=====
Sarveswara Akella,
Software Engineer,
sarvesh.akella@xansa.com,
D 1/3,OKHLA INDUSTRIAL AREA,
PHASE-2, NEW DELHI-110020,
INDIA.
tring +91 11 6929502-05 Extn :271

__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/

---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-dev-help@jakarta.apache.org


Re: file open in browser on request by client

Posted by Stephan Nagy <sn...@connectria.com>.
Sarvesh Akella wrote:

>Hi,
>
>1)I need to open a pdf file in browser on request by
>client from my java application.
>just open it.
>What do i have to do?? 
>2)if i want to give only view access to that file.I
>mean no save as option.then  what else do i have to
>do??
>

As long as a pdf viewer is installed on the client side and associated 
with either .pdf or the mime-type for pdf it should just open 
automatically.  Otherwise as far as I know their is no way to turn off 
the save as box.  As for opening it.  It's just an anchor <a 
href="location/of/pdf/file">PDF FILE</a>

-stephan



---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-dev-help@jakarta.apache.org