Re: how open a document in application web in Jakarta slide

2005-11-08 Thread Vinu Varghese
Title: Vinu Varghese




Hi veronica,
 I am not sure about the content type of a open office document. Any
way just check this link : http://framework.openoffice.org/documentation/mimetypes/mimetypes.html

Hope this will give some light in finding the content type :-)

Thanks
Vinu

veronica ballarta wrote:
Thanks you Vinuand how can i do with open office
document??
  
  
response.setContentType("application/??");
  
  
  
  From: Vinu Varghese
<[EMAIL PROTECTED]>

Reply-To: "Slide Users Mailing List"


To: Slide Users Mailing List 
    
Subject: Re: how open a document in application web in Jakarta slide

Date: Tue, 08 Nov 2005 06:09:23 +0530


Hi Veronica,

change the content type to  text/plain. for text file


ie: response.setContentType("text/plain");




Thanks

Vinu


veronica ballarta wrote:


Thank Vinui put this code in my
servlet..but it doesn't work..i call the servlet in the link of my web
page...but it doesn't open the program..in the case of txt file what
can be in the response.setContenType..only to display my fle
  
  
  From: Vinu Varghese
<[EMAIL PROTECTED]>

Reply-To: "Slide Users Mailing List"

    
To: Slide Users Mailing List 
    
Subject: Re: how open a document in application web in Jakarta slide

Date: Tue, 08 Nov 2005 02:31:52 +0530


Hi Veronica,

You can put response.setContenType("application/word"); // Make sure
that the doc you're accessing is a Word doc, I see a .txt file :-)

Just before the OutputStream :

ie:

response.setContentType("application/word");

OutputStream oStream = response.getOutputStream();

 the remaining code.


Hope this helps


thanks

Vinu




veronica ballarta wrote:


Ok..=D Vinu..thanks a lot...so i have
this now:
  
  
HttpURL hrl =
  
  new
HttpURL("http://localhost:8080/slide/files/JPR/fluyo/HOLA.txt");
  
  hrl.setUserInfo("fluyo","fluyo");
  
  WebdavResource wdr =new WebdavResource(hrl);
  
    InputStream iStream = wdr.getMethodData() ;// Code to get the input
stream
  
 OutputStream oStream = response.getOutputStream(); // response
is HttpServletResponse
  
 byte buffer[] = new byte[1024];
  
 int len;
  
 while((len=iStream.read(buffer))>0)
  
    {
  
    oStream.write(buffer,0,len);
  
    }
  
  
    iStream.close();
  
    oStream.close();
  
  
but where can i put this or tell that the file is going to be open with
word:i supposed with this line but where i put??
  
response.setContentType("application/word");
  
  
  
  From: Vinu Varghese
<[EMAIL PROTECTED]>
        
Reply-To: "Slide Users Mailing List"


To: Slide Users Mailing List 

Subject: Re: how open a document in application web in Jakarta slide

Date: Tue, 08 Nov 2005 01:38:30 +0530


Hi Veronica,


U can write to an OutputStream from an InputStream as follows :



InputStream iStream = . ;// Code to get the input stream

OutputStream oStream = response.getOutputStream(); // response is
HttpServletResponse

byte buffer[] = new byte[1024];

int len;

while((len=iStream.read(buffer))>0)

{

   oStream.write(buffer,0,len);

}

iStream.close();

oStream.close();

// no code should be there after this (ie: nothing should be written to
the outputStream once it is closed)


Hope this helps

Thanks

Vinu

[ By the way my name is VINU not VIRU  :-) ]


veronica ballarta wrote:


OK THANKS A LOT MIGUEL AND
VIRU.ABOUT WEBDRIVE CAN BE A GOOD IDEA BUT IS NOT TOTALLY
FREEAND HOW can i create an OutputStream of the InputStream??
  
  
  
  
  From: "Miguel Figueiredo"
<[EMAIL PROTECTED]>
            
Reply-To: "Slide Users Mailing List"


To: "'Slide Users Mailing List'" 

Subject: RE: how open a document in application web in Jakarta slide

Date: Mon, 7 Nov 2005 09:59:55 -




 Hello

Re: how open a document in application web in Jakarta slide

2005-11-08 Thread veronica ballarta

Thanks you Vinuand how can i do with open office document??

response.setContentType("application/??");



From: Vinu Varghese <[EMAIL PROTECTED]>
Reply-To: "Slide Users Mailing List" 
To: Slide Users Mailing List 
Subject: Re: how open a document in application web in Jakarta slide
Date: Tue, 08 Nov 2005 06:09:23 +0530

Hi Veronica,
change the content type to  text/plain. for text file

ie: response.setContentType("text/plain");



Thanks
Vinu

veronica ballarta wrote:

Thank Vinui put this code in my servlet..but it doesn't work..i 
call the servlet in the link of my web page...but it doesn't open the 
program..in the case of txt file what can be in the 
response.setContenType..only to display my fle



From: Vinu Varghese <[EMAIL PROTECTED]>
Reply-To: "Slide Users Mailing List" 
To: Slide Users Mailing List 
Subject: Re: how open a document in application web in Jakarta slide
Date: Tue, 08 Nov 2005 02:31:52 +0530

Hi Veronica,
You can put response.setContenType("application/word"); // Make sure that 
the doc you're accessing is a Word doc, I see a .txt file :-)

Just before the OutputStream :
ie:
response.setContentType("application/word");
OutputStream oStream = response.getOutputStream();
 the remaining code.

Hope this helps

thanks
Vinu



veronica ballarta wrote:


Ok..=D Vinu..thanks a lot...so i have this now:

HttpURL hrl =
  new 
HttpURL("http://localhost:8080/slide/files/JPR/fluyo/HOLA.txt";);

  hrl.setUserInfo("fluyo","fluyo");
  WebdavResource wdr =new WebdavResource(hrl);
InputStream iStream = wdr.getMethodData() ;// Code to get the input 
stream
 OutputStream oStream = response.getOutputStream(); // response 
is HttpServletResponse

 byte buffer[] = new byte[1024];
 int len;
 while((len=iStream.read(buffer))>0)
{
oStream.write(buffer,0,len);
}

iStream.close();
oStream.close();

but where can i put this or tell that the file is going to be open with 
word:i supposed with this line but where i put??

response.setContentType("application/word");



From: Vinu Varghese <[EMAIL PROTECTED]>
Reply-To: "Slide Users Mailing List" 
To: Slide Users Mailing List 
Subject: Re: how open a document in application web in Jakarta slide
Date: Tue, 08 Nov 2005 01:38:30 +0530

Hi Veronica,

U can write to an OutputStream from an InputStream as follows :


InputStream iStream = . ;// Code to get the input stream
OutputStream oStream = response.getOutputStream(); // response is 
HttpServletResponse

byte buffer[] = new byte[1024];
int len;
while((len=iStream.read(buffer))>0)
{
   oStream.write(buffer,0,len);
}
iStream.close();
oStream.close();
// no code should be there after this (ie: nothing should be written to 
the outputStream once it is closed)


Hope this helps
Thanks
Vinu
[ By the way my name is VINU not VIRU  :-) ]

veronica ballarta wrote:

OK THANKS A LOT MIGUEL AND VIRU.ABOUT WEBDRIVE CAN BE A GOOD IDEA 
BUT IS NOT TOTALLY FREEAND HOW can i create an OutputStream of the 
InputStream??





From: "Miguel Figueiredo" <[EMAIL PROTECTED]>
Reply-To: "Slide Users Mailing List" 
To: "'Slide Users Mailing List'" 
Subject: RE: how open a document in application web in Jakarta slide
Date: Mon, 7 Nov 2005 09:59:55 -



 Hello Veronica,



 I don't believe it's possible to do what you want unless the 
software that
interprets the document is webdav-enabled. The solution Vinu 
presented is
enough to open the document, but the problem you would face next is 
catching
automatically the output stream, and writing it to the server. Word 
for
example, can do it while browsing with webfolders and locking the 
document
in the process, but if you try to open a jpg file the same way, 
you'll only

be viewing it in read-only mode, not the wanted read-write mode.



 There is software, like webdrive, that makes the opening in 
read-write mode
transparent. If you have more specific needs than webdrive offers, 
then you
shall have to write code to catch the outputstream and sending it to 
the
server, and maybe have the locking and versioning features also 
enabled...




Hope this helps,

Miguel Figueiredo



  _

From: Vinu Varghese [mailto:[EMAIL PROTECTED]
Sent: sábado, 5 de Novembro de 2005 0:59
To: Slide Users Mailing List
Subject: Re: how open a document in application web in Jakarta slide



Hi,
 I think u need the clients to open the doc on clicking on some link 
or like

on a web  page - right?.
If that is the case then u can create an OutputStream of the 
InputStream.
Then u can set the content type of the response to "application/word" 
and

write the entire doc into the ServletOutputStream.
Some thing like
  response.setCont

Re: how open a document in application web in Jakarta slide

2005-11-07 Thread Vinu Varghese
Title: Vinu Varghese




Hi Veronica,
change the content type to  text/plain. for text file

ie: response.setContentType("text/plain");



Thanks
Vinu

veronica ballarta wrote:
Thank Vinui put this code in my servlet..but it
doesn't work..i call the servlet in the link of my web page...but it
doesn't open the program..in the case of txt file what can be in the
response.setContenType..only to display my fle
  
  
  From: Vinu Varghese
<[EMAIL PROTECTED]>

Reply-To: "Slide Users Mailing List"


To: Slide Users Mailing List 
    
Subject: Re: how open a document in application web in Jakarta slide

Date: Tue, 08 Nov 2005 02:31:52 +0530


Hi Veronica,

You can put response.setContenType("application/word"); // Make sure
that the doc you're accessing is a Word doc, I see a .txt file :-)

Just before the OutputStream :

ie:

response.setContentType("application/word");

OutputStream oStream = response.getOutputStream();

 the remaining code.


Hope this helps


thanks

Vinu




veronica ballarta wrote:


Ok..=D Vinu..thanks a lot...so i have this
now:
  
  
HttpURL hrl =
  
  new
HttpURL("http://localhost:8080/slide/files/JPR/fluyo/HOLA.txt");
  
  hrl.setUserInfo("fluyo","fluyo");
  
  WebdavResource wdr =new WebdavResource(hrl);
  
    InputStream iStream = wdr.getMethodData() ;// Code to get the input
stream
  
 OutputStream oStream = response.getOutputStream(); // response
is HttpServletResponse
  
 byte buffer[] = new byte[1024];
  
 int len;
  
 while((len=iStream.read(buffer))>0)
  
    {
  
    oStream.write(buffer,0,len);
  
    }
  
  
    iStream.close();
  
    oStream.close();
  
  
but where can i put this or tell that the file is going to be open with
word:i supposed with this line but where i put??
  
response.setContentType("application/word");
  
  
  
  From: Vinu Varghese
<[EMAIL PROTECTED]>
    
Reply-To: "Slide Users Mailing List"


To: Slide Users Mailing List 

Subject: Re: how open a document in application web in Jakarta slide

Date: Tue, 08 Nov 2005 01:38:30 +0530


Hi Veronica,


U can write to an OutputStream from an InputStream as follows :



InputStream iStream = . ;// Code to get the input stream

OutputStream oStream = response.getOutputStream(); // response is
HttpServletResponse

byte buffer[] = new byte[1024];

int len;

while((len=iStream.read(buffer))>0)

{

   oStream.write(buffer,0,len);

}

iStream.close();

oStream.close();

// no code should be there after this (ie: nothing should be written to
the outputStream once it is closed)


Hope this helps

Thanks

Vinu

[ By the way my name is VINU not VIRU  :-) ]


veronica ballarta wrote:


OK THANKS A LOT MIGUEL AND
VIRU.ABOUT WEBDRIVE CAN BE A GOOD IDEA BUT IS NOT TOTALLY
FREEAND HOW can i create an OutputStream of the InputStream??
  
  
  
  
  From: "Miguel Figueiredo"
<[EMAIL PROTECTED]>
    
Reply-To: "Slide Users Mailing List"


To: "'Slide Users Mailing List'" 

Subject: RE: how open a document in application web in Jakarta slide

Date: Mon, 7 Nov 2005 09:59:55 -




 Hello Veronica,




 I don't believe it's possible to do what you want unless the software
that

interprets the document is webdav-enabled. The solution Vinu presented
is

enough to open the document, but the problem you would face next is
catching

automatically the output stream, and writing it to the server. Word for

example, can do it while browsing with webfolders and locking the
document

in the process, but if you try to open a jpg file the same way, you'll
only

be viewing it in read-only mode, not the wanted read-write mode.




 There is software, like webdrive, that makes the opening in read-write
mode

transparent. If you have more specific needs than webdrive offers, then
you

shall have to write code to catch the outputstream and sending it to
the

server, and maybe have the locking and versioning features also
enabled...



  

Re: how open a document in application web in Jakarta slide

2005-11-07 Thread veronica ballarta
Thank Vinui put this code in my servlet..but it doesn't work..i call 
the servlet in the link of my web page...but it doesn't open the program..in 
the case of txt file what can be in the response.setContenType..only to 
display my fle



From: Vinu Varghese <[EMAIL PROTECTED]>
Reply-To: "Slide Users Mailing List" 
To: Slide Users Mailing List 
Subject: Re: how open a document in application web in Jakarta slide
Date: Tue, 08 Nov 2005 02:31:52 +0530

Hi Veronica,
You can put response.setContenType("application/word"); // Make sure that 
the doc you're accessing is a Word doc, I see a .txt file :-)

Just before the OutputStream :
ie:
response.setContentType("application/word");
OutputStream oStream = response.getOutputStream();
 the remaining code.

Hope this helps

thanks
Vinu



veronica ballarta wrote:


Ok..=D Vinu..thanks a lot...so i have this now:

HttpURL hrl =
  new 
HttpURL("http://localhost:8080/slide/files/JPR/fluyo/HOLA.txt";);

  hrl.setUserInfo("fluyo","fluyo");
  WebdavResource wdr =new WebdavResource(hrl);
InputStream iStream = wdr.getMethodData() ;// Code to get the input 
stream
 OutputStream oStream = response.getOutputStream(); // response 
is HttpServletResponse

 byte buffer[] = new byte[1024];
 int len;
 while((len=iStream.read(buffer))>0)
{
oStream.write(buffer,0,len);
}

iStream.close();
oStream.close();

but where can i put this or tell that the file is going to be open with 
word:i supposed with this line but where i put??

response.setContentType("application/word");



From: Vinu Varghese <[EMAIL PROTECTED]>
Reply-To: "Slide Users Mailing List" 
To: Slide Users Mailing List 
Subject: Re: how open a document in application web in Jakarta slide
Date: Tue, 08 Nov 2005 01:38:30 +0530

Hi Veronica,

U can write to an OutputStream from an InputStream as follows :


InputStream iStream = . ;// Code to get the input stream
OutputStream oStream = response.getOutputStream(); // response is 
HttpServletResponse

byte buffer[] = new byte[1024];
int len;
while((len=iStream.read(buffer))>0)
{
   oStream.write(buffer,0,len);
}
iStream.close();
oStream.close();
// no code should be there after this (ie: nothing should be written to 
the outputStream once it is closed)


Hope this helps
Thanks
Vinu
[ By the way my name is VINU not VIRU  :-) ]

veronica ballarta wrote:

OK THANKS A LOT MIGUEL AND VIRU.ABOUT WEBDRIVE CAN BE A GOOD IDEA 
BUT IS NOT TOTALLY FREEAND HOW can i create an OutputStream of the 
InputStream??





From: "Miguel Figueiredo" <[EMAIL PROTECTED]>
Reply-To: "Slide Users Mailing List" 
To: "'Slide Users Mailing List'" 
Subject: RE: how open a document in application web in Jakarta slide
Date: Mon, 7 Nov 2005 09:59:55 -



 Hello Veronica,



 I don't believe it's possible to do what you want unless the software 
that
interprets the document is webdav-enabled. The solution Vinu presented 
is
enough to open the document, but the problem you would face next is 
catching

automatically the output stream, and writing it to the server. Word for
example, can do it while browsing with webfolders and locking the 
document
in the process, but if you try to open a jpg file the same way, you'll 
only

be viewing it in read-only mode, not the wanted read-write mode.



 There is software, like webdrive, that makes the opening in 
read-write mode
transparent. If you have more specific needs than webdrive offers, then 
you
shall have to write code to catch the outputstream and sending it to 
the
server, and maybe have the locking and versioning features also 
enabled...




Hope this helps,

Miguel Figueiredo



  _____

From: Vinu Varghese [mailto:[EMAIL PROTECTED]
Sent: sábado, 5 de Novembro de 2005 0:59
To: Slide Users Mailing List
Subject: Re: how open a document in application web in Jakarta slide



Hi,
 I think u need the clients to open the doc on clicking on some link 
or like

on a web  page - right?.
If that is the case then u can create an OutputStream of the 
InputStream.
Then u can set the content type of the response to "application/word" 
and

write the entire doc into the ServletOutputStream.
Some thing like
  response.setContentType("application/word");
  response.getOutputStream().write() to write the contents

Hope this helps

Thanks
Vinu

veronica ballarta wrote:


Ok..but with this method can i open the file with the correct 
program?..for
example if i have a doc in word in slide and in my web application i 
have
the access to this ..this file will be open with word program withh 
that

method??




From: Vinu Varghese  <mailto:[EMAIL PROTECTED]> 
<[EMAIL PROTECTED]>
Reply-To: "Slide Users Mailing Li

Re: how open a document in application web in Jakarta slide

2005-11-07 Thread Vinu Varghese
Title: Vinu Varghese




Hi Veronica,
 You can put response.setContenType("application/word"); // Make sure
that the doc you're accessing is a Word doc, I see a .txt file :-)
 Just before the OutputStream :
 ie: 
response.setContentType("application/word");
OutputStream oStream = response.getOutputStream();
 the remaining code.

Hope this helps

thanks
Vinu



veronica ballarta wrote:
Ok..=D Vinu..thanks a lot...so i have this now:
  
  
HttpURL hrl =
  
  new
HttpURL("http://localhost:8080/slide/files/JPR/fluyo/HOLA.txt");
  
  hrl.setUserInfo("fluyo","fluyo");
  
  WebdavResource wdr =new WebdavResource(hrl);
  
InputStream iStream = wdr.getMethodData() ;// Code to get the input
stream
  
 OutputStream oStream = response.getOutputStream(); // response
is HttpServletResponse
  
 byte buffer[] = new byte[1024];
  
 int len;
  
 while((len=iStream.read(buffer))>0)
  
    {
  
    oStream.write(buffer,0,len);
  
    }
  
  
    iStream.close();
  
    oStream.close();
  
  
but where can i put this or tell that the file is going to be open with
word:i supposed with this line but where i put??
  
response.setContentType("application/word");
  
  
  
  From: Vinu Varghese
<[EMAIL PROTECTED]>

Reply-To: "Slide Users Mailing List"

    
To: Slide Users Mailing List 

Subject: Re: how open a document in application web in Jakarta slide

Date: Tue, 08 Nov 2005 01:38:30 +0530


Hi Veronica,


U can write to an OutputStream from an InputStream as follows :



InputStream iStream = . ;// Code to get the input stream

OutputStream oStream = response.getOutputStream(); // response is
HttpServletResponse

byte buffer[] = new byte[1024];

int len;

while((len=iStream.read(buffer))>0)

{

   oStream.write(buffer,0,len);

}

iStream.close();

oStream.close();

// no code should be there after this (ie: nothing should be written to
the outputStream once it is closed)


Hope this helps

Thanks

Vinu

[ By the way my name is VINU not VIRU  :-) ]


veronica ballarta wrote:


OK THANKS A LOT MIGUEL AND VIRU.ABOUT
WEBDRIVE CAN BE A GOOD IDEA BUT IS NOT TOTALLY FREEAND HOW can i
create an OutputStream of the InputStream??
  
  
  
  
  From: "Miguel Figueiredo"
<[EMAIL PROTECTED]>
    
Reply-To: "Slide Users Mailing List"

    
To: "'Slide Users Mailing List'" 

Subject: RE: how open a document in application web in Jakarta slide

Date: Mon, 7 Nov 2005 09:59:55 -




 Hello Veronica,




 I don't believe it's possible to do what you want unless the software
that

interprets the document is webdav-enabled. The solution Vinu presented
is

enough to open the document, but the problem you would face next is
catching

automatically the output stream, and writing it to the server. Word for

example, can do it while browsing with webfolders and locking the
document

in the process, but if you try to open a jpg file the same way, you'll
only

be viewing it in read-only mode, not the wanted read-write mode.




 There is software, like webdrive, that makes the opening in read-write
mode

transparent. If you have more specific needs than webdrive offers, then
you

shall have to write code to catch the outputstream and sending it to
the

server, and maybe have the locking and versioning features also
enabled...




Hope this helps,


Miguel Figueiredo




  _


From: Vinu Varghese [mailto:[EMAIL PROTECTED]]
    
Sent: sábado, 5 de Novembro de 2005 0:59

To: Slide Users Mailing List

Subject: Re: how open a document in application web in Jakarta slide




Hi,

 I think u need the clients to open the doc on clicking on some link or
like

on a web  page - right?.

If that is the case then u can create an OutputStream of the
InputStream.

Then u can set the content type of the response to "application/word"
and

write the entire doc into the ServletOutputStream.

Some thing like

  response.setContentType("application/word");

  response.getOutputStream().write() to write the contents


Hope this helps


Thanks

Vinu


veronica ballarta wrote:



Ok..but with this method can i open the file with the correct
program?..for

exa

Re: how open a document in application web in Jakarta slide

2005-11-07 Thread veronica ballarta

Ok..=D Vinu..thanks a lot...so i have this now:

HttpURL hrl =
	  new 
HttpURL("http://localhost:8080/slide/files/JPR/fluyo/HOLA.txt";);

  hrl.setUserInfo("fluyo","fluyo");
  WebdavResource wdr =new WebdavResource(hrl);
InputStream iStream = wdr.getMethodData() ;// Code to get the input 
stream
		 OutputStream oStream = response.getOutputStream(); // response is 
HttpServletResponse

 byte buffer[] = new byte[1024];
 int len;
 while((len=iStream.read(buffer))>0)
{
oStream.write(buffer,0,len);
}

iStream.close();
oStream.close();

but where can i put this or tell that the file is going to be open with 
word:i supposed with this line but where i put??

response.setContentType("application/word");



From: Vinu Varghese <[EMAIL PROTECTED]>
Reply-To: "Slide Users Mailing List" 
To: Slide Users Mailing List 
Subject: Re: how open a document in application web in Jakarta slide
Date: Tue, 08 Nov 2005 01:38:30 +0530

Hi Veronica,

U can write to an OutputStream from an InputStream as follows :


InputStream iStream = . ;// Code to get the input stream
OutputStream oStream = response.getOutputStream(); // response is 
HttpServletResponse

byte buffer[] = new byte[1024];
int len;
while((len=iStream.read(buffer))>0)
{
   oStream.write(buffer,0,len);
}
iStream.close();
oStream.close();
// no code should be there after this (ie: nothing should be written to the 
outputStream once it is closed)


Hope this helps
Thanks
Vinu
[ By the way my name is VINU not VIRU  :-) ]

veronica ballarta wrote:

OK THANKS A LOT MIGUEL AND VIRU.ABOUT WEBDRIVE CAN BE A GOOD IDEA BUT 
IS NOT TOTALLY FREEAND HOW can i create an OutputStream of the 
InputStream??





From: "Miguel Figueiredo" <[EMAIL PROTECTED]>
Reply-To: "Slide Users Mailing List" 
To: "'Slide Users Mailing List'" 
Subject: RE: how open a document in application web in Jakarta slide
Date: Mon, 7 Nov 2005 09:59:55 -



 Hello Veronica,



 I don't believe it's possible to do what you want unless the software 
that

interprets the document is webdav-enabled. The solution Vinu presented is
enough to open the document, but the problem you would face next is 
catching

automatically the output stream, and writing it to the server. Word for
example, can do it while browsing with webfolders and locking the 
document
in the process, but if you try to open a jpg file the same way, you'll 
only

be viewing it in read-only mode, not the wanted read-write mode.



 There is software, like webdrive, that makes the opening in read-write 
mode
transparent. If you have more specific needs than webdrive offers, then 
you

shall have to write code to catch the outputstream and sending it to the
server, and maybe have the locking and versioning features also 
enabled...




Hope this helps,

Miguel Figueiredo



  _

From: Vinu Varghese [mailto:[EMAIL PROTECTED]
Sent: sábado, 5 de Novembro de 2005 0:59
To: Slide Users Mailing List
Subject: Re: how open a document in application web in Jakarta slide



Hi,
 I think u need the clients to open the doc on clicking on some link or 
like

on a web  page - right?.
If that is the case then u can create an OutputStream of the InputStream.
Then u can set the content type of the response to "application/word" and
write the entire doc into the ServletOutputStream.
Some thing like
  response.setContentType("application/word");
  response.getOutputStream().write() to write the contents

Hope this helps

Thanks
Vinu

veronica ballarta wrote:


Ok..but with this method can i open the file with the correct 
program?..for

example if i have a doc in word in slide and in my web application i have
the access to this ..this file will be open with word program withh that
method??




From: Vinu Varghese  <mailto:[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Reply-To: "Slide Users Mailing List"  
<mailto:slide-user@jakarta.apache.org>


To: Slide Users Mailing List  <mailto:slide-user@jakarta.apache.org>

Subject: Re: how open a document in application web in Jakarta slide
Date: Sat, 05 Nov 2005 03:46:49 +0530

Hi

You can use  getMethodData()  on a WebResourcelink
<http://jakarta.apache.org/slide/clientjavadoc/org/apache/webdav/lib/WebdavR

esource.html#getMethodData%28%29>
<http://jakarta.apache.org/slide/clientjavadoc/org/apache/webdav/lib/WebdavR

esource.html#getMethodData%28%29>
also there are other methods that might be usefull 
getMethodData(String

path)
   getMethodDataAsString();
   getMethodDataAsString(String path)

Hope this helps

Thanks
Vinu
|*
<http://jakarta.apache.org/slide/clientjavadoc/org/apache/webdav/lib/WebdavR

esource.html#getMethodData%28%29

Re: how open a document in application web in Jakarta slide

2005-11-07 Thread Vinu Varghese
Title: Vinu Varghese




Hi Veronica,

 U can write to an OutputStream from an InputStream as follows :


 InputStream iStream = . ;// Code to get the input stream
 OutputStream oStream = response.getOutputStream(); // response is
HttpServletResponse
 byte buffer[] = new byte[1024];
 int len;
 while((len=iStream.read(buffer))>0)
{
    oStream.write(buffer,0,len);
}
iStream.close();
oStream.close();
// no code should be there after this (ie: nothing should be written to
the outputStream once it is closed)

Hope this helps
Thanks
Vinu 
[ By the way my name is VINU not VIRU  :-) ]   

veronica ballarta wrote:
OK THANKS A LOT MIGUEL AND VIRU.ABOUT WEBDRIVE CAN BE
A GOOD IDEA BUT IS NOT TOTALLY FREEAND HOW can i create an
OutputStream of the InputStream??
  
  
  
  
  From: "Miguel Figueiredo"
<[EMAIL PROTECTED]>

Reply-To: "Slide Users Mailing List"


To: "'Slide Users Mailing List'" 
    
Subject: RE: how open a document in application web in Jakarta slide

Date: Mon, 7 Nov 2005 09:59:55 -




 Hello Veronica,




 I don’t believe it’s possible to do what you want unless the software
that

interprets the document is webdav-enabled. The solution Vinu presented
is

enough to open the document, but the problem you would face next is
catching

automatically the output stream, and writing it to the server. Word for

example, can do it while browsing with webfolders and locking the
document

in the process, but if you try to open a jpg file the same way, you’ll
only

be viewing it in read-only mode, not the wanted read-write mode.




 There is software, like webdrive, that makes the opening in read-write
mode

transparent. If you have more specific needs than webdrive offers, then
you

shall have to write code to catch the outputstream and sending it to
the

server, and maybe have the locking and versioning features also
enabled…




Hope this helps,


Miguel Figueiredo




  _


From: Vinu Varghese [mailto:[EMAIL PROTECTED]]

Sent: sábado, 5 de Novembro de 2005 0:59
    
To: Slide Users Mailing List
    
Subject: Re: how open a document in application web in Jakarta slide




Hi,

 I think u need the clients to open the doc on clicking on some link or
like

on a web  page - right?.

If that is the case then u can create an OutputStream of the
InputStream.

Then u can set the content type of the response to "application/word"
and

write the entire doc into the ServletOutputStream.

Some thing like

  response.setContentType("application/word");

  response.getOutputStream().write() to write the contents


Hope this helps


Thanks

Vinu


veronica ballarta wrote:



Ok..but with this method can i open the file with the correct
program?..for

example if i have a doc in word in slide and in my web application i
have

the access to this ..this file will be open with word program withh
that

method??





From: Vinu Varghese  
<[EMAIL PROTECTED]>

Reply-To: "Slide Users Mailing List" 

    


To: Slide Users Mailing List 




Subject: Re: how open a document in application web in Jakarta slide

Date: Sat, 05 Nov 2005 03:46:49 +0530


Hi


You can use  getMethodData()  on a WebResource    link

<http://jakarta.apache.org/slide/clientjavadoc/org/apache/webdav/lib/WebdavR

esource.html#getMethodData%28%29>

<http://jakarta.apache.org/slide/clientjavadoc/org/apache/webdav/lib/WebdavR

esource.html#getMethodData%28%29>

also there are other methods that might be usefull
getMethodData(String

path)

   getMethodDataAsString();

   getMethodDataAsString(String path)


Hope this helps


Thanks

Vinu

|*

<http://jakarta.apache.org/slide/clientjavadoc/org/apache/webdav/lib/WebdavR

esource.html#getMethodData%28%29>

<http://jakarta.apache.org/slide/clientjavadoc/org/apache/webdav/lib/WebdavR

esource.html#getMethodData%28%29>*|veronica ballarta wrote:






Somebody knows the method to open a document in jakarta slide at
web..for

example to put and get is:


to get:webdavresource.getMethod(filename);

to put:webdavresource.putMethod(path,filename);

but to open()??





From: "Laurent Michenaud"  

<[EMAIL PROTECTED]>

Reply-To: "Slide Users Mailing List" 




To: "Slide Users Mailing List" 




Subject: RE: Word documents in read-only with OpenOffice

Date: Thu, 3 Nov 2005 13:57:37 +0100


Yes, the file is in read-only mode.


I'm using :

Slide 2.2 on Windows 20

RE: how open a document in application web in Jakarta slide

2005-11-07 Thread veronica ballarta
OK THANKS A LOT MIGUEL AND VIRU.ABOUT WEBDRIVE CAN BE A GOOD IDEA BUT IS 
NOT TOTALLY FREEAND HOW can i create an OutputStream of the 
InputStream??





From: "Miguel Figueiredo" <[EMAIL PROTECTED]>
Reply-To: "Slide Users Mailing List" 
To: "'Slide Users Mailing List'" 
Subject: RE: how open a document in application web in Jakarta slide
Date: Mon, 7 Nov 2005 09:59:55 -



 Hello Veronica,



 I don’t believe it’s possible to do what you want unless the software 
that

interprets the document is webdav-enabled. The solution Vinu presented is
enough to open the document, but the problem you would face next is 
catching

automatically the output stream, and writing it to the server. Word for
example, can do it while browsing with webfolders and locking the document
in the process, but if you try to open a jpg file the same way, you’ll only
be viewing it in read-only mode, not the wanted read-write mode.



 There is software, like webdrive, that makes the opening in read-write 
mode

transparent. If you have more specific needs than webdrive offers, then you
shall have to write code to catch the outputstream and sending it to the
server, and maybe have the locking and versioning features also enabled…



Hope this helps,

Miguel Figueiredo



  _

From: Vinu Varghese [mailto:[EMAIL PROTECTED]
Sent: sábado, 5 de Novembro de 2005 0:59
To: Slide Users Mailing List
Subject: Re: how open a document in application web in Jakarta slide



Hi,
 I think u need the clients to open the doc on clicking on some link or 
like

on a web  page - right?.
If that is the case then u can create an OutputStream of the InputStream.
Then u can set the content type of the response to "application/word" and
write the entire doc into the ServletOutputStream.
Some thing like
  response.setContentType("application/word");
  response.getOutputStream().write() to write the contents

Hope this helps

Thanks
Vinu

veronica ballarta wrote:


Ok..but with this method can i open the file with the correct program?..for
example if i have a doc in word in slide and in my web application i have
the access to this ..this file will be open with word program withh that
method??




From: Vinu Varghese  <mailto:[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Reply-To: "Slide Users Mailing List"  
<mailto:slide-user@jakarta.apache.org>


To: Slide Users Mailing List  <mailto:slide-user@jakarta.apache.org>

Subject: Re: how open a document in application web in Jakarta slide
Date: Sat, 05 Nov 2005 03:46:49 +0530

Hi

You can use  getMethodData()  on a WebResourcelink
<http://jakarta.apache.org/slide/clientjavadoc/org/apache/webdav/lib/WebdavR
esource.html#getMethodData%28%29>
<http://jakarta.apache.org/slide/clientjavadoc/org/apache/webdav/lib/WebdavR
esource.html#getMethodData%28%29>
also there are other methods that might be usefull getMethodData(String
path)
   getMethodDataAsString();
   getMethodDataAsString(String path)

Hope this helps

Thanks
Vinu
|*
<http://jakarta.apache.org/slide/clientjavadoc/org/apache/webdav/lib/WebdavR
esource.html#getMethodData%28%29>
<http://jakarta.apache.org/slide/clientjavadoc/org/apache/webdav/lib/WebdavR
esource.html#getMethodData%28%29>*|veronica ballarta wrote:





Somebody knows the method to open a document in jakarta slide at web..for
example to put and get is:

to get:webdavresource.getMethod(filename);
to put:webdavresource.putMethod(path,filename);
but to open()??




From: "Laurent Michenaud"  <mailto:[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
Reply-To: "Slide Users Mailing List"  
<mailto:slide-user@jakarta.apache.org>


To: "Slide Users Mailing List"  <mailto:slide-user@jakarta.apache.org>

Subject: RE: Word documents in read-only with OpenOffice
Date: Thu, 3 Nov 2005 13:57:37 +0100

Yes, the file is in read-only mode.

I'm using :
Slide 2.2 on Windows 2003 Server

My workstation : Windows XP SP2 + OpenOffice 1.1.3

And you ?


-Message d'origine-
De : Martin Delgado [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 3 novembre 2005 13:24
À : Slide Users Mailing List
Objet : RE: Word documents in read-only with OpenOffice

Are you sure the files are read only in Open Office?
I just tried to update an open office doc and it
worked.  However, it still gave me a "secondary"
prompt when saving because it was saving to a doc file
and not open office.

BTW, to implement Web Folders, Open Office should be
using the OLE DB Provider for Internet Publishing.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipubsdk/htm
l/ipubbyb0.asp



--- Laurent Michenaud  <mailto:[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
wrote:

> The user has write permission on the web folder.
> If I open the document with Word, I can update it.
> If I open the document with OO, I can't b

RE: how open a document in application web in Jakarta slide

2005-11-07 Thread Miguel Figueiredo
Title: Vinu Varghese










 

 Hello Veronica,

 

 I don’t believe it’s
possible to do what you want unless the software that interprets the document
is webdav-enabled. The solution Vinu presented is enough to open the document,
but the problem you would face next is catching automatically the output
stream, and writing it to the server. Word for example, can do it while
browsing with webfolders and locking the document in the process, but if you
try to open a jpg file the same way, you’ll only be viewing it in read-only
mode, not the wanted read-write mode.

 

 There is software, like
webdrive, that makes the opening in read-write mode transparent. If you have
more specific needs than webdrive offers, then you shall have to write code to
catch the outputstream and sending it to the server, and maybe have the locking
and versioning features also enabled…

 

Hope this helps,

Miguel Figueiredo

 







From: Vinu Varghese
[mailto:[EMAIL PROTECTED] 
Sent: sábado, 5 de Novembro de
2005 0:59
To: Slide
 Users Mailing List
Subject: Re: how open a document
in application web in Jakarta
slide



 

Hi,
 I think u need the clients to open the doc on clicking on some link or
like on a web  page - right?.
If that is the case then u can create an OutputStream of the InputStream. Then
u can set the content type of the response to "application/word" and
write the entire doc into the ServletOutputStream.
Some thing like 
  response.setContentType("application/word");
  response.getOutputStream().write() to write the contents

Hope this helps

Thanks 
Vinu

veronica ballarta wrote: 


Ok..but with this method can i open the file with the correct program?..for
example if i have a doc in word in slide and in my web application i have the
access to this ..this file will be open with word program withh that method?? 




From: Vinu Varghese <[EMAIL PROTECTED]> 
Reply-To: "Slide Users Mailing List"


To: Slide Users Mailing List 

Subject: Re: how open a document in application web in Jakarta slide 
Date: Sat, 05 Nov 2005 03:46:49 +0530 

Hi 

You can use  getMethodData()  on a WebResource    link


also there are other methods that might be usefull
getMethodData(String path) 
   getMethodDataAsString(); 
   getMethodDataAsString(String path) 

Hope this helps 

Thanks 
Vinu 
|* *|veronica
ballarta wrote: 





Somebody knows the method to open a document in jakarta slide at web..for example
to put and get is: 

to get:webdavresource.getMethod(filename); 
to put:webdavresource.putMethod(path,filename); 
but to open()?? 




From: "Laurent
Michenaud" <[EMAIL PROTECTED]>

Reply-To: "Slide Users Mailing List"


To: "Slide Users Mailing List"


Subject: RE: Word documents in read-only with OpenOffice 
Date: Thu, 3 Nov 2005 13:57:37 +0100 

Yes, the file is in read-only mode. 

I'm using : 
Slide 2.2 on Windows 2003 Server 

My workstation : Windows XP SP2 + OpenOffice 1.1.3 

And you ? 


-Message d'origine- 
De : Martin Delgado [mailto:[EMAIL PROTECTED]]

Envoyé : jeudi 3 novembre 2005 13:24 
À : Slide Users Mailing List 
Objet : RE: Word documents in read-only with OpenOffice 

Are you sure the files are read only in Open Office? 
I just tried to update an open office doc and it 
worked.  However, it still gave me a "secondary" 
prompt when saving because it was saving to a doc file 
and not open office. 

BTW, to implement Web Folders, Open Office should be 
using the OLE DB Provider for Internet Publishing. 

http://msdn.microsoft.com/library/default.asp?url="">




--- Laurent Michenaud <[EMAIL PROTECTED]>
wrote: 

> The user has write permission on the web folder. 
> If I open the document with Word, I can update it. 
> If I open the document with OO, I can't because 
> It is read only. 
> 
> 
> -Message d'origine- 
> De : Martin Delgado [mailto:[EMAIL PROTECTED]]

> Envoyé : jeudi 3 novembre 2005 12:48 
> À : Slide Users Mailing List 
> Objet : Re: Word documents in read-only with 
> OpenOffice 
> 
> > 
> > 
> > 1) When i opened word documents with OpenOffice ( 
> > via web folder ), they 
> > are in read-only. 
> > 
> > Is it a slide issue or an openoffice issue ? 
> 
> It's probably a permissions issue with your system. 
> How are you running Slide/Tomcat?  The user that 
> Slide's running as has to have write privileges for 
> the files it wants to write. 
> 
> > 
> > 2) I can't open openoffice document using web 
> > folders. Do I have to 
> > configure something 
> > 
> > in slide ? 
> 
> OpenOffice doesn't support Webdav properly inside MS 
> Windows.  To use it, you have to set 
> Tools/Options/General Use OpenOffice.org dialogs. 
> Then you have to punch in the URL.  It doesn't 

Re: how open a document in application web in Jakarta slide

2005-11-04 Thread Vinu Varghese
Title: Vinu Varghese




Hi,
 I think u need the clients to open the doc on clicking on some link or
like on a web  page - right?.
If that is the case then u can create an OutputStream of the
InputStream. Then u can set the content type of the response to
"application/word" and write the entire doc into the
ServletOutputStream.
Some thing like 
  response.setContentType("application/word");
  response.getOutputStream().write() to write the contents

Hope this helps

Thanks 
Vinu

veronica ballarta wrote:

Ok..but with this method can i open the file with the correct
program?..for example if i have a doc in word in slide and in my web
application i have the access to this ..this file will be open with
word program withh that method??
  
  
  From: Vinu Varghese
<[EMAIL PROTECTED]>

Reply-To: "Slide Users Mailing List"


To: Slide Users Mailing List 
    
Subject: Re: how open a document in application web in Jakarta slide

Date: Sat, 05 Nov 2005 03:46:49 +0530


Hi


You can use  getMethodData()  on a WebResource    link


also there are other methods that might be usefull
getMethodData(String path)

   getMethodDataAsString();

   getMethodDataAsString(String path)


Hope this helps


Thanks

Vinu

|*
*|veronica
ballarta wrote:



Somebody knows the method to open a document in jakarta slide at
web..for example to put and get is:
  
  
to get:webdavresource.getMethod(filename);
  
to put:webdavresource.putMethod(path,filename);
  
but to open()??
  
  
  From: "Laurent Michenaud"
<[EMAIL PROTECTED]>

Reply-To: "Slide Users Mailing List"


To: "Slide Users Mailing List" 

Subject: RE: Word documents in read-only with OpenOffice

Date: Thu, 3 Nov 2005 13:57:37 +0100


Yes, the file is in read-only mode.


I'm using :

Slide 2.2 on Windows 2003 Server


My workstation : Windows XP SP2 + OpenOffice 1.1.3


And you ?



-Message d'origine-

De : Martin Delgado [mailto:[EMAIL PROTECTED]]

Envoyé : jeudi 3 novembre 2005 13:24

À : Slide Users Mailing List

Objet : RE: Word documents in read-only with OpenOffice


Are you sure the files are read only in Open Office?

I just tried to update an open office doc and it

worked.  However, it still gave me a "secondary"

prompt when saving because it was saving to a doc file

and not open office.


BTW, to implement Web Folders, Open Office should be

using the OLE DB Provider for Internet Publishing.


http://msdn.microsoft.com/library/default.asp?url="">




--- Laurent Michenaud <[EMAIL PROTECTED]> wrote:


> The user has write permission on the web folder.

> If I open the document with Word, I can update it.

> If I open the document with OO, I can't because

> It is read only.

>

>

> -Message d'origine-

> De : Martin Delgado [mailto:[EMAIL PROTECTED]]

> Envoyé : jeudi 3 novembre 2005 12:48

> À : Slide Users Mailing List

> Objet : Re: Word documents in read-only with

> OpenOffice

>

> >

> >

> > 1) When i opened word documents with OpenOffice (

> > via web folder ), they

> > are in read-only.

> >

> > Is it a slide issue or an openoffice issue ?

>

> It's probably a permissions issue with your system.

> How are you running Slide/Tomcat?  The user that

> Slide's running as has to have write privileges for

> the files it wants to write.

>

> >

> > 2) I can't open openoffice document using web

> > folders. Do I have to

> > configure something

> >

> > in slide ?

>

> OpenOffice doesn't support Webdav properly inside MS

> Windows.  To use it, you have to set

> Tools/Options/General Use OpenOffice.org dialogs.

> Then you have to punch in the URL.  It doesn't

> support

> browsing.

>

> I think there's some kind of Mime-ish setting on

> Windows that OpenOffice is supposed to do to use Web

> Folders that it's not doing.

>

>

>

>

>

>

> _

Re: how open a document in application web in Jakarta slide

2005-11-04 Thread veronica ballarta


Ok..but with this method can i open the file with the correct program?..for 
example if i have a doc in word in slide and in my web application i have 
the access to this ..this file will be open with word program withh that 
method??



From: Vinu Varghese <[EMAIL PROTECTED]>
Reply-To: "Slide Users Mailing List" 
To: Slide Users Mailing List 
Subject: Re: how open a document in application web in Jakarta slide
Date: Sat, 05 Nov 2005 03:46:49 +0530

Hi

You can use  getMethodData()  on a WebResourcelink 
<http://jakarta.apache.org/slide/clientjavadoc/org/apache/webdav/lib/WebdavResource.html#getMethodData%28%29>
also there are other methods that might be usefull getMethodData(String 
path)

   getMethodDataAsString();
   getMethodDataAsString(String path)

Hope this helps

Thanks
Vinu
|* 
<http://jakarta.apache.org/slide/clientjavadoc/org/apache/webdav/lib/WebdavResource.html#getMethodData%28%29>*|veronica 
ballarta wrote:




Somebody knows the method to open a document in jakarta slide at web..for 
example to put and get is:


to get:webdavresource.getMethod(filename);
to put:webdavresource.putMethod(path,filename);
but to open()??


From: "Laurent Michenaud" <[EMAIL PROTECTED]>
Reply-To: "Slide Users Mailing List" 
To: "Slide Users Mailing List" 
Subject: RE: Word documents in read-only with OpenOffice
Date: Thu, 3 Nov 2005 13:57:37 +0100

Yes, the file is in read-only mode.

I'm using :
Slide 2.2 on Windows 2003 Server

My workstation : Windows XP SP2 + OpenOffice 1.1.3

And you ?


-Message d'origine-
De : Martin Delgado [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 3 novembre 2005 13:24
À : Slide Users Mailing List
Objet : RE: Word documents in read-only with OpenOffice

Are you sure the files are read only in Open Office?
I just tried to update an open office doc and it
worked.  However, it still gave me a "secondary"
prompt when saving because it was saving to a doc file
and not open office.

BTW, to implement Web Folders, Open Office should be
using the OLE DB Provider for Internet Publishing.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipubsdk/html/ipubbyb0.asp



--- Laurent Michenaud <[EMAIL PROTECTED]> wrote:

> The user has write permission on the web folder.
> If I open the document with Word, I can update it.
> If I open the document with OO, I can't because
> It is read only.
>
>
> -Message d'origine-
> De : Martin Delgado [mailto:[EMAIL PROTECTED]
> Envoyé : jeudi 3 novembre 2005 12:48
> À : Slide Users Mailing List
> Objet : Re: Word documents in read-only with
> OpenOffice
>
> >
> >
> > 1) When i opened word documents with OpenOffice (
> > via web folder ), they
> > are in read-only.
> >
> > Is it a slide issue or an openoffice issue ?
>
> It's probably a permissions issue with your system.
> How are you running Slide/Tomcat?  The user that
> Slide's running as has to have write privileges for
> the files it wants to write.
>
> >
> > 2) I can't open openoffice document using web
> > folders. Do I have to
> > configure something
> >
> > in slide ?
>
> OpenOffice doesn't support Webdav properly inside MS
> Windows.  To use it, you have to set
> Tools/Options/General Use OpenOffice.org dialogs.
> Then you have to punch in the URL.  It doesn't
> support
> browsing.
>
> I think there's some kind of Mime-ish setting on
> Windows that OpenOffice is supposed to do to use Web
> Folders that it's not doing.
>
>
>
>
>
>
> __
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
>
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>





__
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Vinu Varghese
[ Good is not Good when better is Expected ]
My Email : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
My Web : www.vinusweb.com <http://www.vinusweb.com>


X /minds /
*Solutions Unfolded*
[www.x-minds.org <http://www.x-minds.org>]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: how open a document in application web in Jakarta slide

2005-11-04 Thread Vinu Varghese
Title: Vinu Varghese




Hi
 
You can use  getMethodData()  on a WebResource    link
also there are other methods that might be usefull   
    getMethodData(String path)
    getMethodDataAsString();
    getMethodDataAsString(String path)

Hope this helps

Thanks
Vinu
veronica
ballarta wrote:

Somebody knows the method to open a document in jakarta slide at
web..for example to put and get is:
  
  
to get:webdavresource.getMethod(filename);
  
to put:webdavresource.putMethod(path,filename);
  
but to open()??
  
  
  From: "Laurent Michenaud"
<[EMAIL PROTECTED]>

Reply-To: "Slide Users Mailing List"


To: "Slide Users Mailing List" 

Subject: RE: Word documents in read-only with OpenOffice

Date: Thu, 3 Nov 2005 13:57:37 +0100


Yes, the file is in read-only mode.


I'm using :

Slide 2.2 on Windows 2003 Server


My workstation : Windows XP SP2 + OpenOffice 1.1.3


And you ?



-Message d'origine-

De : Martin Delgado [mailto:[EMAIL PROTECTED]]

Envoyé : jeudi 3 novembre 2005 13:24

À : Slide Users Mailing List

Objet : RE: Word documents in read-only with OpenOffice


Are you sure the files are read only in Open Office?

I just tried to update an open office doc and it

worked.  However, it still gave me a "secondary"

prompt when saving because it was saving to a doc file

and not open office.


BTW, to implement Web Folders, Open Office should be

using the OLE DB Provider for Internet Publishing.


http://msdn.microsoft.com/library/default.asp?url="">



--- Laurent Michenaud <[EMAIL PROTECTED]> wrote:


> The user has write permission on the web folder.

> If I open the document with Word, I can update it.

> If I open the document with OO, I can't because

> It is read only.

>

>

> -Message d'origine-

> De : Martin Delgado [mailto:[EMAIL PROTECTED]]

> Envoyé : jeudi 3 novembre 2005 12:48

> À : Slide Users Mailing List

> Objet : Re: Word documents in read-only with

> OpenOffice

>

> >

> >

> > 1) When i opened word documents with OpenOffice (

> > via web folder ), they

> > are in read-only.

> >

> > Is it a slide issue or an openoffice issue ?

>

> It's probably a permissions issue with your system.

> How are you running Slide/Tomcat?  The user that

> Slide's running as has to have write privileges for

> the files it wants to write.

>

> >

> > 2) I can't open openoffice document using web

> > folders. Do I have to

> > configure something

> >

> > in slide ?

>

> OpenOffice doesn't support Webdav properly inside MS

> Windows.  To use it, you have to set

> Tools/Options/General Use OpenOffice.org dialogs.

> Then you have to punch in the URL.  It doesn't

> support

> browsing.

>

> I think there's some kind of Mime-ish setting on

> Windows that OpenOffice is supposed to do to use Web

> Folders that it's not doing.

>

>

>

>

>

>

> __

> Yahoo! Mail - PC Magazine Editors' Choice 2005

> http://mail.yahoo.com

>

>

-

> To unsubscribe, e-mail:

> [EMAIL PROTECTED]

> For additional commands, e-mail:

> [EMAIL PROTECTED]

>

>

>

-

> To unsubscribe, e-mail:

> [EMAIL PROTECTED]

> For additional commands, e-mail:

> [EMAIL PROTECTED]

>

>






__

Yahoo! Mail - PC Magazine Editors' Choice 2005

http://mail.yahoo.com


-

To unsubscribe, e-mail: [EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED]



-

To unsubscribe, e-mail: [EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED]


  
  
  
  
-
  
To unsubscribe, e-mail: [EMAIL PROTECTED]
  
For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  


-- 







  

   
   [ Good is not Good when better is
Expected ] 
  My Email : [EMAIL PROTECTED] 
  My Web : www.vinusweb.com


  
  
  X minds  
  Solutions Unfolded


  [www.x-minds.org]