Re: Default XML Parser used in Slide

2004-11-04 Thread Koundinya \(Sudhakar Chavali\)
I would like to know what  is the default XML parser Used in Slide??

Thanks
Sudhakar

--- IndianAtTech <[EMAIL PROTECTED]> wrote:

> Hello Guys,
> 
> I would like to know what  is the default XML parser Used in Slide??
> 
> Thanks
> Sudhakar
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


=
"No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925) 

"Make everything as simple as possible, but not simpler."- Albert Einstein (1879-1955)

"It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw 
(1856-1950)



__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


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



Re: MS Exchange Server access with SLIDE example, anyone?

2004-09-21 Thread Koundinya \(Sudhakar Chavali\)
This may help you to start ur further works

import org.apache.webdav.lib.*;
import java.net.*;
import java.io.*;
import org.apache.commons.httpclient.HttpClient;
import org.apache.util.WebdavStatus;
import org.apache.webdav.lib.methods.PropFindMethod;
import org.apache.webdav.lib.methods.*;
import org.apache.webdav.lib.properties.*;
import javax.net.ssl.*;
import org.apache.commons.httpclient.*;
import org.apache.commons.httpclient.methods.*;
import java.util.*;



class ExchangeTest
{

 public static final String HTTPS_SERVER_FOR_EXCHANGE_ACCESS ="12.12.0.38";
 public static final intTARGET_HTTPS_PORT   = 443; 

public static void main(String args[]) throws Exception
{


System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
System.setProperty("javax.net.ssl.trustStore","C:\\localhost_38.jks");

//System.setProperty("javax.net.ssl.trustStore","C:\\localhost_62.jks");
//System.setProperty("javax.net.ssl.trustStore","C:\\localhost.jks");

String data=
"\r\ndestination="+java.net.URLEncoder.encode("https://"+HTTPS_SERVER_FOR_EXCHANGE_ACCESS+"/exchange";)+"&";

//data=data+"flags=0&"+"username=localhost.local%5CSharma&password=Sharma1&SubmitCreds=Log+On&forcedownlevel=0&trusted=0\r\n";

data=data+"flags=0&"+"username=administrator&password=localhost_38&SubmitCreds=Log+On&forcedownlevel=0&trusted=0\r\n";



org.apache.commons.httpclient.HttpsURL url1 = new
org.apache.commons.httpclient.HttpsURL("administrator","localhost_38","localhost_38", 
443 ,
"/Exchange/Administrator");
//org.apache.commons.httpclient.HttpsURL url1 = new
org.apache.commons.httpclient.HttpsURL("administrator","localhost_62","localhost_62", 
443 ,
"/Exchange/Administrator");
//org.apache.commons.httpclient.HttpsURL url1 = new
org.apache.commons.httpclient.HttpsURL("Sharma","Sharma1","29.12.74.4", 443 ,
"/Exchange/Sharma.Sharma");

/*WebSession wr= new WebSession();
HttpClient httpClient= wr.getSessionInstance(url1);

org.apache.commons.httpclient.methods.UrlPostMethod upm= new
org.apache.commons.httpclient.methods.UrlPostMethod("/exchweb/bin/auth/owaauth.dll");

upm.addRequestHeader("Accept","image/gif, image/x-xbitmap, image/jpeg, 
image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword,
application/x-shockwave-flash, *//*");

upm.addRequestHeader("Referer","https://"+HTTPS_SERVER_FOR_EXCHANGE_ACCESS+"/exchweb/bin/auth/owalogon.asp";);
upm.addRequestHeader("Accept-Language","en-us");

upm.addRequestHeader("Content-Type","application/x-www-form-urlencoded");
upm.addRequestHeader("Accept-Encoding", "gzip, deflate");
upm.addRequestHeader("User-Agent", "Mozilla/4.0 (compatible; MSIE 6.0; 
Windows NT 5.0; .NET CLR
1.0.3705; .NET CLR 1.1.4322)");
upm.addRequestHeader("Host",  HTTPS_SERVER_FOR_EXCHANGE_ACCESS);
//upm.addRequestHeader("Connection","Keep-Alive");
upm.addRequestHeader("Content-Length",""+data.length());
upm.addRequestHeader("Cache-Control", "no-cache"+"\r\n"+data);

org.apache.commons.httpclient.Header headers[] 
=upm.getRequestHeaders();
for(int i=0;ihttps://"+ 
HTTPS_SERVER_FOR_EXCHANGE_ACCESS
+"/exchweb/bin/auth/owalogon.asp");
 method.addRequestHeader("Accept-Language", "en-us");
 //method.addRequestHeader("Accept-Encoding", "gzip, deflate");
 method.addRequestHeader("User-Agent", "Mozilla/4.0 (compatible; MSIE 
6.0; Windows NT 5.0; .NET
CLR 1.0.3705; .NET CLR 1.1.4322)");
 method.addRequestHeader("Host",  HTTPS_SERVER_FOR_EXCHANGE_ACCESS );  
 method.addRequestHeader("Connection", "Keep-Alive");
 method.addRequestHeader("Cache-Control", 
"no-cache"+"\r\n"+newSessionString+"\r\n");
 //method.addRequestHeader(newSessionString);

httpClient.executeMethod(method);

headers=method.getResponseHeaders(); 

for(int i=0;i wrote:

> Hi 
> I would like to access MS Exchange Server (2003 in particular) using
> SLIDE.
> However, if there is a better alternative out there, please let me know.
> I have seen from the mailing list archives that there are people that
> has accessed MS Exchange, so I was thinking that perhaps some kind
> person would like to share some source code with me. Just some example
> of how to get started. 
> 
> Regards
>  Tobias
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


=
"No one can ea

Re: Good Slide GUI clients?

2004-09-12 Thread Koundinya \(Sudhakar Chavali\)
>>>The page is in german, but the plugin is in English.
This is translated page

http://translate.google.com/translate?u=http%3A%2F%2Fwww.s-und-n.de%2Fsunshine%2Fccos%2Fde%2Fprodukte%2Fwebdavpilot&langpair=de%7Cen&hl=en&ie=UTF-8&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools


Regards
Sudhakar
--- Simone Gianni <[EMAIL PROTECTED]> wrote:

> WebDavPilot for Eclipse. It's very good for many ways, but not yet 
> support versioning ... it's planned in future version.
> 
> http://www.s-und-n.de/sunshine/ccos/de/produkte/webdavpilot
> 
> The page is in german, but the plugin is in English.
> 
> Ciao,
> Simone Gianni
> 
> [EMAIL PROTECTED] wrote:
> 
> >I'm looking for a good GUI client (similar to DAVExplorer 
> >maybe?) with versioning control and especially some way to 
> >tell WHO the current owner might be.
> >
> >-
> >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]
> 
> 


=
"No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925) 

"Make everything as simple as possible, but not simpler."- Albert Einstein (1879-1955)

"It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw 
(1856-1950)



___
Do you Yahoo!?
Shop for Back-to-School deals on Yahoo! Shopping.
http://shopping.yahoo.com/backtoschool

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



Regarding BPROPFIND PROPERTY

2004-09-09 Thread Koundinya \(Sudhakar Chavali\)
Hello all,

I am not seeing any implementation class for BPROPFIND in slide API

Is there any specific reason for this

Thanks
Sudhakar



=
"No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925) 

"Make everything as simple as possible, but not simpler."- Albert Einstein (1879-1955)

"It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw 
(1856-1950)



___
Do you Yahoo!?
Shop for Back-to-School deals on Yahoo! Shopping.
http://shopping.yahoo.com/backtoschool

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



Re: URLGetMethod.executeMethod is hanging under multi threaded environment

2004-09-07 Thread Koundinya \(Sudhakar Chavali\)
Thankyou Ingo,

this solved my problem.
 if (manager == null) {
manager = new MultiThreadedHttpConnectionManager();
 manager.setMaxTotalConnections(30);
manager.setMaxConnectionsPerHost(10);
  }
  client = new HttpClient(manager);


--- Ingo Brunberg <[EMAIL PROTECTED]> wrote:

> > This is how I am getting the Client Instance.
> > 
> >   org.apache.commons.httpclient.HttpURL url = (org.apache.commons.
> >   httpclient.HttpURL) getURL(path + "/" + user);
> > 
> >   org.prithvi.docparser.microsoft.msexchange.apache.OwaWebdavResource
> >   webDavResourceFile = getWebResource(
> >   url);
> > 
> >   //get the client session
> >   client = webDavResourceFile.retrieveSessionInstance();
> > 
> > Is this instance comes from SimpleConnectionManager ??
> 
> Simple answer, yes.
> 
> Two notes:
> - Don't use UrlGetMethod. It's deprecated. Just use GetMethod.
> - As a first solution try to surround the following two lines of your
>   code given below with a synchronized(client) {} block:
> 
>   int status = client.executeMethod(getMethod);
>   byte attachmentBytes[] = getMethod.getResponseBody();
> 
> Regards,
> Ingo
> 
> 
> > 
> > thanks for trying to helping me
> > 
> > Sudhakar
> > 
> > 
> > 
> > 
> > 
> > --- Ingo Brunberg <[EMAIL PROTECTED]> wrote:
> > 
> > > First, this is not quite the right list for asking this question. It
> > > would have better been asked on the commons-httpclient-dev list.
> > > 
> > > But anyway, your code snippet does not show how you create the
> > > HttpClient instance that you use. Be aware that by default you get one
> > > that uses the so called SimpleConnectionManager. You cannot use that
> > > one to access the same connection concurrently from more than one
> > > thread. If you want HttpClient to manage the connections for you in a
> > > multithreaded environment, you should use the
> > > MutliThreadedConnectionManager.
> > > 
> > > Ingo
> > > 
> > > > Hello Guys,
> > > > 
> > > > Subject: URLGetMethod.executeMethod is hanging under multi threaded environment
> > > > 
> > > > Please see the folloiwng code. I am trying to download the mails of MS 
> > > > Exchange Server
> using
> > > > URLGetMethod.executeMethod. But when execution pointer comes to the thread area
> > > > (URLGetMethod.executemethod),
> > > > 
> > > > URLGetMethod.executemethod is not coming out of it's loop. Could you please 
> > > > explain what
> is
> > > the
> > > > problem with this code??
> > > > 
> > > > 
> > > > class SaveAttachmentThread
> > > > extends Thread
> > > > implements Runnable {
> > > >   static int threadCount = 0;
> > > >   String uri = "";
> > > >   String strAttachmentName = "";
> > > >   private org.apache.commons.httpclient.HttpClient client = null;
> > > >   org.apache.commons.httpclient.methods.UrlGetMethod attachmentMethod = null;
> > > > 
> > > >   public SaveAttachmentThread(String uri, String strAttachmentName,
> > > >   org.apache.commons.httpclient.HttpClient client) 
> > > > {
> > > > this.uri = uri;
> > > > this.strAttachmentName = strAttachmentName;
> > > > this.client = client;
> > > > 
> > > >   }
> > > > 
> > > >   public SaveAttachmentThread(org.apache.commons.httpclient.methods.
> > > >   UrlGetMethod _getMethod, String attachment) {
> > > > attachmentMethod = _getMethod;
> > > > this.strAttachmentName = attachment;
> > > >   }
> > > > 
> > > >   public void run() {
> > > > //strAttachmentName = URLDecoder.decode(strAttachmentName);
> > > > System.err.println("Saved to " + strAttachmentName);
> > > > System.err.println("URL :" + uri);
> > > > try {
> > > > 
> > > > 
> > > > System.err.println("Saving the URL :" + strAttachmentName);
> > > > org.apache.commons.httpclient.methods.UrlGetMethod getMethod = new org.
> > > > apache.commons.httpclient.methods.UrlGetMethod(uri);
> > > > int status = client.executeMethod(getMethod);
> > > > 
> > > > 
> > > >   byte attachmentBytes[] = getMethod.getResponseBody();
> > > >   FileOutputStream fout = new FileOutputStream(strAttachmentName);
> > > >   fout.write(attachmentBytes);
> > > >   fout.close();
> > > >   fout = null;
> > > > 
> > > >   threadCount++;
> > > >   System.err.println(threadCount);
> > > > 
> > > > }
> > > > catch (Throwable e) {
> > > >   System.err.println("Error raised while saving the URI : " +
> > > >  strAttachmentName);
> > > >   e.printStackTrace();
> > > > }
> > > >   }
> > > > }
> > > > 
> > > > 
> > > > Thanks
> > > > Sudhakar
> > > > 
> > > > 
> > > > 
> > > > =
> > > > "No one can earn a million dollars honestly."- William Jennings Bryan 
> > > > (1860-1925) 
> > > > 
> > > > "Make everything as simple as possible, but not simpler."- Albert Einstein 
> > > > (1879-1955)
> > > > 
> > > > "It is dangerous to be sincere unle

Re: URLGetMethod.executeMethod is hanging under multi threaded environment

2004-09-06 Thread Koundinya \(Sudhakar Chavali\)
This is how I am getting the Client Instance.

  org.apache.commons.httpclient.HttpURL url = (org.apache.commons.
  httpclient.HttpURL) getURL(path + "/" + user);

  org.prithvi.docparser.microsoft.msexchange.apache.OwaWebdavResource
  webDavResourceFile = getWebResource(
  url);

  //get the client session
  client = webDavResourceFile.retrieveSessionInstance();

Is this instance comes from SimpleConnectionManager ??

thanks for trying to helping me

Sudhakar





--- Ingo Brunberg <[EMAIL PROTECTED]> wrote:

> First, this is not quite the right list for asking this question. It
> would have better been asked on the commons-httpclient-dev list.
> 
> But anyway, your code snippet does not show how you create the
> HttpClient instance that you use. Be aware that by default you get one
> that uses the so called SimpleConnectionManager. You cannot use that
> one to access the same connection concurrently from more than one
> thread. If you want HttpClient to manage the connections for you in a
> multithreaded environment, you should use the
> MutliThreadedConnectionManager.
> 
> Ingo
> 
> > Hello Guys,
> > 
> > Subject: URLGetMethod.executeMethod is hanging under multi threaded environment
> > 
> > Please see the folloiwng code. I am trying to download the mails of MS Exchange 
> > Server using
> > URLGetMethod.executeMethod. But when execution pointer comes to the thread area
> > (URLGetMethod.executemethod),
> > 
> > URLGetMethod.executemethod is not coming out of it's loop. Could you please 
> > explain what is
> the
> > problem with this code??
> > 
> > 
> > class SaveAttachmentThread
> > extends Thread
> > implements Runnable {
> >   static int threadCount = 0;
> >   String uri = "";
> >   String strAttachmentName = "";
> >   private org.apache.commons.httpclient.HttpClient client = null;
> >   org.apache.commons.httpclient.methods.UrlGetMethod attachmentMethod = null;
> > 
> >   public SaveAttachmentThread(String uri, String strAttachmentName,
> >   org.apache.commons.httpclient.HttpClient client) {
> > this.uri = uri;
> > this.strAttachmentName = strAttachmentName;
> > this.client = client;
> > 
> >   }
> > 
> >   public SaveAttachmentThread(org.apache.commons.httpclient.methods.
> >   UrlGetMethod _getMethod, String attachment) {
> > attachmentMethod = _getMethod;
> > this.strAttachmentName = attachment;
> >   }
> > 
> >   public void run() {
> > //strAttachmentName = URLDecoder.decode(strAttachmentName);
> > System.err.println("Saved to " + strAttachmentName);
> > System.err.println("URL :" + uri);
> > try {
> > 
> > 
> > System.err.println("Saving the URL :" + strAttachmentName);
> > org.apache.commons.httpclient.methods.UrlGetMethod getMethod = new org.
> > apache.commons.httpclient.methods.UrlGetMethod(uri);
> > int status = client.executeMethod(getMethod);
> > 
> > 
> >   byte attachmentBytes[] = getMethod.getResponseBody();
> >   FileOutputStream fout = new FileOutputStream(strAttachmentName);
> >   fout.write(attachmentBytes);
> >   fout.close();
> >   fout = null;
> > 
> >   threadCount++;
> >   System.err.println(threadCount);
> > 
> > }
> > catch (Throwable e) {
> >   System.err.println("Error raised while saving the URI : " +
> >  strAttachmentName);
> >   e.printStackTrace();
> > }
> >   }
> > }
> > 
> > 
> > Thanks
> > Sudhakar
> > 
> > 
> > 
> > =
> > "No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925) 
> > 
> > "Make everything as simple as possible, but not simpler."- Albert Einstein 
> > (1879-1955)
> > 
> > "It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw 
> > (1856-1950)
> > 
> > 
> > 
> > __
> > Do you Yahoo!?
> > New and Improved Yahoo! Mail - Send 10MB messages!
> > http://promotions.yahoo.com/new_mail 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


=
"No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925) 

"Make everything as simple as possible, but not simpler."- Albert Einstein (1879-1955)

"It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw 
(1856-1950)



__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

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



URLGetMethod.executeMethod is hanging under multi threaded environment

2004-09-06 Thread Koundinya \(Sudhakar Chavali\)
Hello Guys,

Subject: URLGetMethod.executeMethod is hanging under multi threaded environment

Please see the folloiwng code. I am trying to download the mails of MS Exchange Server 
using
URLGetMethod.executeMethod. But when execution pointer comes to the thread area
(URLGetMethod.executemethod),

URLGetMethod.executemethod is not coming out of it's loop. Could you please explain 
what is the
problem with this code??


class SaveAttachmentThread
extends Thread
implements Runnable {
  static int threadCount = 0;
  String uri = "";
  String strAttachmentName = "";
  private org.apache.commons.httpclient.HttpClient client = null;
  org.apache.commons.httpclient.methods.UrlGetMethod attachmentMethod = null;

  public SaveAttachmentThread(String uri, String strAttachmentName,
  org.apache.commons.httpclient.HttpClient client) {
this.uri = uri;
this.strAttachmentName = strAttachmentName;
this.client = client;

  }

  public SaveAttachmentThread(org.apache.commons.httpclient.methods.
  UrlGetMethod _getMethod, String attachment) {
attachmentMethod = _getMethod;
this.strAttachmentName = attachment;
  }

  public void run() {
//strAttachmentName = URLDecoder.decode(strAttachmentName);
System.err.println("Saved to " + strAttachmentName);
System.err.println("URL :" + uri);
try {


System.err.println("Saving the URL :" + strAttachmentName);
org.apache.commons.httpclient.methods.UrlGetMethod getMethod = new org.
apache.commons.httpclient.methods.UrlGetMethod(uri);
int status = client.executeMethod(getMethod);


  byte attachmentBytes[] = getMethod.getResponseBody();
  FileOutputStream fout = new FileOutputStream(strAttachmentName);
  fout.write(attachmentBytes);
  fout.close();
  fout = null;

  threadCount++;
  System.err.println(threadCount);

}
catch (Throwable e) {
  System.err.println("Error raised while saving the URI : " +
 strAttachmentName);
  e.printStackTrace();
}
  }
}


Thanks
Sudhakar



=
"No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925) 

"Make everything as simple as possible, but not simpler."- Albert Einstein (1879-1955)

"It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw 
(1856-1950)



__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

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



RE: Has anyone seen connection warnings when deploying slide in a n Ap p Server(JBoss)

2004-09-03 Thread Koundinya \(Sudhakar Chavali\)
Ok,

I think slide uses common-logging API to print the warning messages.

Just supress them. 

May be something like this

 static Log log;
static
{
log = LogFactory.getLog(org.apache.commons.httpclient.HttpClient.class);
}

public void init()
{
lOG.setLevel(lOG.LOG_LEVEL_OFF);

}


But not sure. You should see the API referces for this

Regards
Sudhakar
--- Ritu Kedia <[EMAIL PROTECTED]> wrote:

> For now the intention is to only suppress the messages. But if the same
> warnings are being issued in WebSphere as well,then it may become a
> potential problem with log file increasing in size with every server
> operation.
> Secondly, I just thought it better to address the warnings now before they
> result in some erroneous behavior.
> 
> Thanks,
> Ritu
> 
> -Original Message-----
> From: Koundinya (Sudhakar Chavali) [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 03, 2004 3:59 PM
> To: Slide Users Mailing List
> Subject: Re: Has anyone seen connection warnings when deploying slide in
> an Ap p Server(JBoss)
> 
> 
> Is this is becoming a problem for you?? Or You just want to supress those
> messages??
> 
> Regards
> Sudhakar
> 
> 
> --- Ritu Kedia <[EMAIL PROTECTED]> wrote:
> 
> > I see a lot of warnings when deploying Slide in JBoss App Server. 
> > WARN  [WrappedConnection] Closing a statement you left open, please do
> your
> > own housekeeping
> > 
> > The same warnings also come when performing any server side operations. I
> > saw the DB Adapter classes.. they do close the statements in the final
> > clause. Then why do the warnings come?
> > Has anyone faced a similar problem? Or could someone suggest a way of
> > avoiding these warnings.
> > 
> > Thanks,
> > Ritu
> > 
> > 
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> 
> =
> "No one can earn a million dollars honestly."- William Jennings Bryan
> (1860-1925) 
> 
> "Make everything as simple as possible, but not simpler."- Albert Einstein
> (1879-1955)
> 
> "It is dangerous to be sincere unless you are also stupid."- George Bernard
> Shaw (1856-1950)
> 
> 
>   
> __
> Do you Yahoo!?
> Yahoo! Mail is new and improved - Check it out!
> http://promotions.yahoo.com/new_mail
> 
> -
> 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]
> 
> 


=
"No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925) 

"Make everything as simple as possible, but not simpler."- Albert Einstein (1879-1955)

"It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw 
(1856-1950)



___
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

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



Re: Has anyone seen connection warnings when deploying slide in an Ap p Server(JBoss)

2004-09-03 Thread Koundinya \(Sudhakar Chavali\)
Is this is becoming a problem for you?? Or You just want to supress those messages??

Regards
Sudhakar


--- Ritu Kedia <[EMAIL PROTECTED]> wrote:

> I see a lot of warnings when deploying Slide in JBoss App Server. 
> WARN  [WrappedConnection] Closing a statement you left open, please do your
> own housekeeping
> 
> The same warnings also come when performing any server side operations. I
> saw the DB Adapter classes.. they do close the statements in the final
> clause. Then why do the warnings come?
> Has anyone faced a similar problem? Or could someone suggest a way of
> avoiding these warnings.
> 
> Thanks,
> Ritu
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


=
"No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925) 

"Make everything as simple as possible, but not simpler."- Albert Einstein (1879-1955)

"It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw 
(1856-1950)



__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail

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



Regarding Apache Logging API in Slide

2004-08-31 Thread Koundinya \(Sudhakar Chavali\)
 Hello All,


Have you ever worked on Apache Logging API??

I am facing aproblem in supressing the messages of API.

In my current project I am using apache's HttpClient API. By default it is using Apache
commons-logging API.

In order to supress those messages, I know this condition should be used. (if
(isLevelEnabled(SimpleLog.LOG_LEVEL_DEBUG)))

But I am not understanding how and where to write the related code in my API??

Do I need to set any properties file for this or any thing else. I just can't 
understand how to
supress messages of Apache HTTP client

Your help needed

thanks
sudhakar

=
"No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925) 

"Make everything as simple as possible, but not simpler."- Albert Einstein (1879-1955)

"It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw 
(1856-1950)



__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail

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



URL Encoding and decoding is giving problem

2004-08-26 Thread Koundinya \(Sudhakar Chavali\)
I try to explain my scenario

We are working with the exchange server related project using Slide

When we send a message to destination user, Exchange Server maintains the message with 
the name of
Subject

for example if i give Subject as Test\ Hello

It stores the message in Test_xF8FE_%20Hello.EML file

So now encoding and decoding using URLEncoder/URLDecoder is giving problems in such 
cases


=
"No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925) 

"Make everything as simple as possible, but not simpler."- Albert Einstein (1879-1955)

"It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw 
(1856-1950)



___
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

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



Re: MSPowerPointExtractor problem

2004-08-02 Thread Koundinya \(Sudhakar Chavali\)
Hm,

Basically we have concentrated on English language. So we never faced any problems. It 
become a
new task for our team now :-) 

Thanks to Ralph in pointing that problem.

We Will work on related and let the Jakarta team knows :-)

Regards
Sudhakar





--- Ralph Scheuer <[EMAIL PROTECTED]> wrote:

> Ryan,
> 
> thanks for your reply.
> 
> I have also seen the posts from Sudhakar on this subject who seems to 
> be contributing a whole lot of code here - which is a great thing but 
> in this code the problem also persists so I think we solve this 
> encoding problem in your code (which is simpler - the fix could later 
> be integrated into Sudhakar's code if this is checked in or 
> whatever...).
> 
> I have tested this with a simple PPT file containing just the following 
> text:
> 
> Umlaut-Test
> Ökologie, Mühsal, Größe, Grätsche
> 
> I get the following console output with this text:
> 
> Umlaut-Test
> \326kologie, M\374hsal, Gr\374\337e, Gr\344tsche
> 
> Here is the output I get in a web browser (through a web app, "view 
> HTML source" mode):
> 
> Umlaut-Test ÷kologie, M¸hsal, Gr¸?e, Gr?tsche
> 
> German "umlaute" and other special characters work fine that way 
> whenever I extract text from Word documents or Excel spreadsheets using 
> POI and Ryan Ackley's TextMining framework.
> 
> just for the record: I have only tested this on my own configuration: 
> Mac OS X 10.3.4, Java 1.4.2_03 so I have no idea how these classes 
> might behave on Linux or Windows. Can anybody confirm this? I have seen 
> some German names on this list ;-)
> 
> Thanks for all the work you put into this.
> 
> Ralph Scheuer
> 
> Am 01.08.2004 um 08:07 schrieb Ryan Rhodes:
> 
> > Hi Ralph,
> >
> > I haven't tested the PPT extractor with any other languages.  I 
> > remember
> > reading about other people having problems with different character 
> > sets
> > though.
> >
> > Could you send a before and after example file here or to bugzilla?
> >
> > -Ryan Rhodes
> >
> >
> > -Original Message-
> > From: Ralph Scheuer [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, July 28, 2004 10:01 AM
> > To: slide
> > Subject: MSPowerPointExtractor problem
> >
> > Hello everybody,
> >
> > When I was searching for a Java class to extract text from PowerPoint
> > files, I accidentally discovered Slide.
> >
> > I pulled the MSPowerPointExtractor class and some other stuff it
> > depends on via CVS and tried it for some text extraction.
> >
> > The method I used looks very similar to the provided example main
> > method (see below).
> >
> > However. when I tried to extract text from a German PowerPoint
> > presentation, I had some problems with the encoding. I did not know
> > which encoding to use, converting the output to ISO Latin 1 with my
> > text editor solved only part of the problem (some German Umlaute were
> > displayed correctly, some were not).
> >
> > Is this a known issue or am I doing something wrong? Any hints for me?
> >
> > Thanks in advance.
> >
> > Ralph Scheuer
> >
> > BTW. I am using Mac OS X 10.3.4 with JDK 1.4.2_03, the native encoding
> > on this platform is MacRoman.
> >
> >
> >  public static String contentStringForData(NSData data){
> > 
> > StringBuffer buf = new StringBuffer();
> > try{
> > ByteArrayInputStream input = data.stream();
> > MSPowerPointExtractor ex = new MSPowerPointExtractor(null,
> > null);
> > 
> > Reader reader = ex.extract(input);
> > 
> > int c;
> > do
> > {
> > c = reader.read();
> > 
> > buf.append((char)c);
> > }
> > while( c != -1 );
> > }catch(Exception e){
> > 
> > }
> > 
> > return buf.toString();
> >  }
> >
> > -
> > 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]
> 
> 


=
"No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925) 

"Make everything as simple as possible, but not simpler."- Albert Einstein (1879-1955)

"It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw 
(1856-1950)




__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

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



Power Point Extractor Source Codes - Mail Continued

2004-08-01 Thread Koundinya \(Sudhakar Chavali\)
The main classes you can find there are

PPT2Text
PPTSlide
PPTConstants
PPTClientTextBox

=
"No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925) 

"Make everything as simple as possible, but not simpler."- Albert Einstein (1879-1955)

"It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw 
(1856-1950)




__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

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



Re: Power Point Extractor Source Codes

2004-08-01 Thread Koundinya \(Sudhakar Chavali\)
Here is the Ryan Rhodes Contribution

http://www.mail-archive.com/[EMAIL PROTECTED]/msg10445.html

=
"No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925) 

"Make everything as simple as possible, but not simpler."- Albert Einstein (1879-1955)

"It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw 
(1856-1950)

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Power Point Extractor Source Codes

2004-08-01 Thread Koundinya \(Sudhakar Chavali\)
Hello All,

This was my first contribution 
http://wiki.apache.org/jakarta-lucene-data/attachments/PowerPoint/attachments/PPT2Text.java
 for
jakarta team. And it seems another expert(Ryan Rhodes- [EMAIL PROTECTED]) has already
started working on that based on my first given contribution.

That sounds great to me.

So In order to increase the development process for Powerpoint extractor, I just 
wanted to
contribute Our team efforts in developing the Powerpoint extractor

Authors :- Sudhakar Chavali ([EMAIL PROTECTED]) and Hari Shanker Goud
([EMAIL PROTECTED])


Have a look on the below source codes


Regards
Sudhakar



/**
 * Title: DocumentParserException class
 * Description: This is root Exceptional class for throwing the runtime errors that 
can be raised
by different parsers
 * @author Sudhakar
 * @version 1.0
 */

public class DocumentParserException
extends Exception {

  /**
   * Constructs a new exception with null as its detail message.
   */

  public DocumentParserException() {
  }

  /**
   * Constructs a new exception with the specified detail message.
   * @param message
   */

  public DocumentParserException(String message) {
super(message);
  }

  /**
   * Constructs a new exception with the specified detail message.
   * @param message
   * @param cause
   */
  public DocumentParserException(String message, Throwable cause) {
super(message, cause);
  }

}
_

import java.io.*;

/**
 *
 * Title: Summary Base
 * Description: A Generic one that reads the document's summary information and 
returns it through
different internal methods
 * @author Sudhakar Chavali
 * @version 1.0
 */
public interface SummaryBase {
  /**
   * A method returns the Document's Author
   * @return String
   */
  public String getDocAuthor();

  /**
   * A method that returns the Document Created Date
   * @return String
   */
  public String getDocCreatedDate();

  /**
   * A method that returns the Document's Key words
   * @return String
   */
  public String getDocKeywords();

  /**
   * A method that returns the Document's comments
   * @return String
   */
  public String getDocComments();

  /**
   * A method that returns the Document Name
   * @return String
   */
  public String getDocName();

  /**
   * A method that returns the Document's Subject
   * @return String
   */
  public String getDocSubject();

  /**
   * A method that returns the Document's title
   */

  public String getDocTitle();

  /**
   * A method that reads the document's Summary Information
   * @throws DocumentParserException
   */
  public void read() throws DocumentParserException;

  /**
   * A method that writes the Document's summary information as an XML into the file
   * @param strXMLFile
   * @throws DocumentParserException
   */
  public void write(String strXMLFile) throws 
  DocumentParserException;

  /**
   * A method that writes the document's summary information as an XML into 
OutputStream Object
   * @param out
   * @throws DocumentParserException
   */
  public void write(OutputStream out) throws 
  DocumentParserException;

  /**
   * A method that returns the Document's summary as an XML String
   * @return String
   * @throws DocumentParserException
   */
  public String getSummaryAsXML() throws 
  DocumentParserException;

  /**
   * A method that returns document's summary information as normal text
   * @return String
   * @throws DocumentParserException
   */
  public String getSummaryAsText() throws 
  DocumentParserException;
}

__

import java.io.*;

/**
 * A generic document that reads the document's text and parses it into normal Ascii 
text using
the different methods.
 */
public interface Document {

  /**
   * A method that returns the document's text after parsing. This method should be 
called after
calling the read method
   * @return String
   * @see #read()
   * @throws DocumentParserException
   */
  public abstract String getText() throws 
  DocumentParserException;

  /**
   * A method that returns the parsed text as byte array. This method should be called 
after
calling the read method
   * @return byte[]
   * @throws DocumentParserException
   */
  public abstract byte[] getBytes() throws 
  DocumentParserException;

  /**
   * A method that writes the parsed text into the OutputStream object. This method 
should be
called after calling the read method
   * @param out
   * @throws DocumentParserException
   */
  public abstract void write(OutputStream out) throws 
  DocumentParserException, Exception;

  /**
   * A method that reads and parses the document into Normal text
   * @throws DocumentParserException
   */
  public abstract void read() throws 
  DocumentParserException, Exception;

  /**
 

RE: MSPowerPointExtractor problem

2004-08-01 Thread Koundinya \(Sudhakar Chavali\)
Hello All,

This was my first contribution 
http://wiki.apache.org/jakarta-lucene-data/attachments/PowerPoint/attachments/PPT2Text.java
 for
jakarta team. And it seems another expert(Ryan Rhodes- [EMAIL PROTECTED]) has already
started working on that based on my first given contribution.

That sounds great to me.

So In order to increase the development process for Powerpoint extractor, I just 
wanted to
contribute Our team efforts in developing the Powerpoint extractor

Authors :- Sudhakar Chavali ([EMAIL PROTECTED]) and Hari Shanker Goud
([EMAIL PROTECTED])


Have a look on the below source codes


Regards
Sudhakar



/**
 * Title: DocumentParserException class
 * Description: This is root Exceptional class for throwing the runtime errors that 
can be raised
by different parsers
 * @author Sudhakar
 * @version 1.0
 */

public class DocumentParserException
extends Exception {

  /**
   * Constructs a new exception with null as its detail message.
   */

  public DocumentParserException() {
  }

  /**
   * Constructs a new exception with the specified detail message.
   * @param message
   */

  public DocumentParserException(String message) {
super(message);
  }

  /**
   * Constructs a new exception with the specified detail message.
   * @param message
   * @param cause
   */
  public DocumentParserException(String message, Throwable cause) {
super(message, cause);
  }

}
_

import java.io.*;

/**
 *
 * Title: Summary Base
 * Description: A Generic one that reads the document's summary information and 
returns it through
different internal methods
 * @author Sudhakar Chavali
 * @version 1.0
 */
public interface SummaryBase {
  /**
   * A method returns the Document's Author
   * @return String
   */
  public String getDocAuthor();

  /**
   * A method that returns the Document Created Date
   * @return String
   */
  public String getDocCreatedDate();

  /**
   * A method that returns the Document's Key words
   * @return String
   */
  public String getDocKeywords();

  /**
   * A method that returns the Document's comments
   * @return String
   */
  public String getDocComments();

  /**
   * A method that returns the Document Name
   * @return String
   */
  public String getDocName();

  /**
   * A method that returns the Document's Subject
   * @return String
   */
  public String getDocSubject();

  /**
   * A method that returns the Document's title
   */

  public String getDocTitle();

  /**
   * A method that reads the document's Summary Information
   * @throws DocumentParserException
   */
  public void read() throws DocumentParserException;

  /**
   * A method that writes the Document's summary information as an XML into the file
   * @param strXMLFile
   * @throws DocumentParserException
   */
  public void write(String strXMLFile) throws 
  DocumentParserException;

  /**
   * A method that writes the document's summary information as an XML into 
OutputStream Object
   * @param out
   * @throws DocumentParserException
   */
  public void write(OutputStream out) throws 
  DocumentParserException;

  /**
   * A method that returns the Document's summary as an XML String
   * @return String
   * @throws DocumentParserException
   */
  public String getSummaryAsXML() throws 
  DocumentParserException;

  /**
   * A method that returns document's summary information as normal text
   * @return String
   * @throws DocumentParserException
   */
  public String getSummaryAsText() throws 
  DocumentParserException;
}

__

import java.io.*;

/**
 * A generic document that reads the document's text and parses it into normal Ascii 
text using
the different methods.
 */
public interface Document {

  /**
   * A method that returns the document's text after parsing. This method should be 
called after
calling the read method
   * @return String
   * @see #read()
   * @throws DocumentParserException
   */
  public abstract String getText() throws 
  DocumentParserException;

  /**
   * A method that returns the parsed text as byte array. This method should be called 
after
calling the read method
   * @return byte[]
   * @throws DocumentParserException
   */
  public abstract byte[] getBytes() throws 
  DocumentParserException;

  /**
   * A method that writes the parsed text into the OutputStream object. This method 
should be
called after calling the read method
   * @param out
   * @throws DocumentParserException
   */
  public abstract void write(OutputStream out) throws 
  DocumentParserException, Exception;

  /**
   * A method that reads and parses the document into Normal text
   * @throws DocumentParserException
   */
  public abstract void read() throws 
  DocumentParserException, Exception;

  /**
 

RE: MSPowerPointExtractor problem

2004-08-01 Thread Koundinya \(Sudhakar Chavali\)
Check this,

http://wiki.apache.org/jakarta-lucene-data/attachments/PowerPoint/attachments/PPT2Text.java

--- Ryan Rhodes <[EMAIL PROTECTED]> wrote:

> Hi Ralph,
> 
> I haven't tested the PPT extractor with any other languages.  I remember
> reading about other people having problems with different character sets
> though.
> 
> Could you send a before and after example file here or to bugzilla?
> 
> -Ryan Rhodes
> 
> 
> -Original Message-
> From: Ralph Scheuer [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 28, 2004 10:01 AM
> To: slide
> Subject: MSPowerPointExtractor problem
> 
> Hello everybody,
> 
> When I was searching for a Java class to extract text from PowerPoint 
> files, I accidentally discovered Slide.
> 
> I pulled the MSPowerPointExtractor class and some other stuff it 
> depends on via CVS and tried it for some text extraction.
> 
> The method I used looks very similar to the provided example main 
> method (see below).
> 
> However. when I tried to extract text from a German PowerPoint 
> presentation, I had some problems with the encoding. I did not know 
> which encoding to use, converting the output to ISO Latin 1 with my 
> text editor solved only part of the problem (some German Umlaute were 
> displayed correctly, some were not).
> 
> Is this a known issue or am I doing something wrong? Any hints for me?
> 
> Thanks in advance.
> 
> Ralph Scheuer
> 
> BTW. I am using Mac OS X 10.3.4 with JDK 1.4.2_03, the native encoding 
> on this platform is MacRoman.
> 
> 
>  public static String contentStringForData(NSData data){
>   
>   StringBuffer buf = new StringBuffer();
>   try{
>   ByteArrayInputStream input = data.stream();
>   MSPowerPointExtractor ex = new MSPowerPointExtractor(null,
> null);
>   
>   Reader reader = ex.extract(input);
>   
>   int c;
>   do
>   {
>   c = reader.read();
>   
>   buf.append((char)c);
>   }
>   while( c != -1 );
>   }catch(Exception e){
>   
>   }
>   
>   return buf.toString();
>  }
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


=
"No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925) 

"Make everything as simple as possible, but not simpler."- Albert Einstein (1879-1955)

"It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw 
(1856-1950)




__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

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



Urgent: Exception raised on Https Access

2004-07-05 Thread Koundinya \(Sudhakar Chavali\)
I got the WebdavException when I am trying to authenticate to the MS Exchange 2003 
Server which is
configured on Https with OWS.
while accessing the following URL https://192.12.0.38/Exchnage, it should redirect to
https://192.12.0.38/exchweb/bin/auth/owalogon.asp?url=https://192.12.0.38/Exchange&reason=0
 for
further authentication. But it is not happening.

Please Help me



Here is the Exception Stack Trace
Exception raised at processMailboxFolders
org.apache.webdav.lib.WebdavException
at org.apache.webdav.lib.WebdavFile.listFiles(WebdavFile.java:379)
at org.apache.webdav.lib.WebdavFile.listFiles(WebdavFile.java:358)
at wefTest.processMailboxFolders(wefTest.java:143)
at wefTest.(wefTest.java:112)
at wefTest.main(wefTest.java:234)






And here is the Sample Code

import javax.xml.parsers.*; //PRITHVI
import org.apache.webdav.lib.*;
import java.net.*;
import java.io.*;
import org.apache.commons.httpclient.HttpClient;
import org.apache.util.WebdavStatus;
import org.apache.webdav.lib.methods.*;
import org.apache.webdav.lib.properties.*;
import org.apache.commons.httpclient.HttpsURL;
import org.apache.webdav.lib.WebdavFile;




public class wefTest
{

protected org.apache.commons.httpclient.HttpsURL url;

protected org.apache.commons.httpclient.HttpsURL url99;

protected org.apache.webdav.lib.WebdavResource wdfr;

protected org.apache.webdav.lib.WebdavFile wdfile;
//protected WebdavFile wdfile;

protected String username;

protected String password;

protected String hostname;

protected int port;

protected String path;

protected String mailbox;

protected String targetPath;


// Constructor

public wefTest(String username, String password, String hostname, int port, 
String path, String
targetPath) throws Exception
{
this.username=username;
this.password=password;
this.hostname=hostname;
this.port=port;
this.path=path;
this.mailbox=null;
this.targetPath=targetPath;

java.io.File targetFolder= new java.io.File(targetPath);

if (!targetFolder.exists())
{
targetFolder.mkdir();
}


java.util.Vector names=new java.util.Vector();
names.add("Administrator");


System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
System.setProperty("javax.net.ssl.trustStore","comp38.jks");

//System.setProperty("javax.net.ssl.trustStorePassword", "irah"); 


for(java.util.Enumeration 
enum=names.elements();enum.hasMoreElements();)
{
this.mailbox=(String)enum.nextElement();

// Initializing target parameters
url = new 
org.apache.commons.httpclient.HttpsURL(username,password,hostname, port,
path+"/"+mailbox);
// Initializing webdave file object
wdfile= new org.apache.webdav.lib.WebdavFile(url);

processMailboxFolders();
}
}



protected void processMailboxFolders() throws Exception
{

System.out.println("Processing MailBox : "+mailbox+"  ... \n");

java.io.File mailFolder= new java.io.File(targetPath+"/"+mailbox);

if (!mailFolder.exists())
{
mailFolder.mkdir();
}

// Fetch all folder list

try
{

java.io.File folders[] = wdfile.listFiles();

for (int i=0;ihttp://promotions.yahoo.com/new_mail

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



Re: URL Parsing Problem

2004-06-11 Thread Koundinya \(Sudhakar Chavali\)
I got this problem from Slide API only. After that I tried to manipulate with 
java.net.URlDecoder
and java.net.URLEncoder but there also i have failed to parse correctly.

I just struck at this point :((




--- Julian Reschke <[EMAIL PROTECTED]> wrote:
> Koundinya (Sudhakar Chavali) wrote:
> > Hi Julian,
> > 
> > I did similary the way you have explained but
> > 
> > instead of taking the same information, it has built the new url
> > 
> > The value I inputted is http://ads.exchange:80/Exchange/Administrator/S
> > ent%20Items/Test%20%23123.EML
> > 
> > 
> > 
> > Here is the output
> > http://ads.exchange:80/Exchange/Administrator/Sent%20Items/Test%20%2523123.EML
> > 
> > Actaully it is encoding % value to %25 :(
> > thanks
> > sudhakar
> 
> OK, that looks like a bug. Is this a JDK method or Slide?
> 
> -- 
> bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


=
"No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925) 

"Make everything as simple as possible, but not simpler."- Albert Einstein (1879-1955)

"It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw 
(1856-1950)




__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

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



Re: URL Parsing Problem

2004-06-11 Thread Koundinya \(Sudhakar Chavali\)
Hi Julian,

I did similary the way you have explained but

instead of taking the same information, it has built the new url

The value I inputted is http://ads.exchange:80/Exchange/Administrator/S
ent%20Items/Test%20%23123.EML



Here is the output
http://ads.exchange:80/Exchange/Administrator/Sent%20Items/Test%20%2523123.EML

Actaully it is encoding % value to %25 :(
thanks
sudhakar

 



--- "Koundinya (Sudhakar Chavali)" <[EMAIL PROTECTED]> wrote:
> Hi Julian,
> 
> I did similary the way you have explained but
> 
> instead of taking the same information, it has built the new url
> 
> The value I inputted is http://ads.exchange:80/Exchange/Administrator/S
> ent%20Items/Test%20%%23123.EML
> 
> Here is the output
> http://ads.exchange:80/Exchange/Administrator/Sent%20Items/Test%20%2523123.EML
> 
> thanks
> sudhakar
> --- Julian Reschke <[EMAIL PROTECTED]> wrote:
> > Koundinya (Sudhakar Chavali) wrote:
> > 
> > > Hello All,
> > > 
> > > Here is the scenario
> > > 
> > > I am using Slide project to access MS-Exchange Server mails.
> > > 
> > > In MS Exchange Server API, the mails will be created with their subjects.If the 
> > > mail subject
> > is
> > > Test#10 for an example it creates Test#10.eml object in ms exchange server.
> > > 
> > > if i use the following procedure to create the mail object, url is not building 
> > > properly and
> i
> > am
> > > getting the wrong out put
> > > url = new org.apache.commons.httpclient.HttpURL(username, password,
> > > hostname, port, strPath);
> > > 
> > > for an example if this is the URL
> > > http://comp62/exchange/Administrator/Inbox/Test%20#123.EML
> > 
> > This is an absolute HTTP URL 
> > ("http://comp62/exchange/Administrator/Inbox/Test%20";) plus a fragment 
> > identifier ("#123.EML").
> > 
> > You probably need: 
> > "http://comp62/exchange/Administrator/Inbox/Test%20%23123.EML";
> > 
> >  > ...
> > 
> > Best regards, Julian
> > 
> > -- 
> > bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> =
> "No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925) 
> 
> "Make everything as simple as possible, but not simpler."- Albert Einstein 
> (1879-1955)
> 
> "It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw 
> (1856-1950)
> 
> 
>   
>   
> __
> Do you Yahoo!?
> Friends.  Fun.  Try the all-new Yahoo! Messenger.
> http://messenger.yahoo.com/ 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


=
"No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925) 

"Make everything as simple as possible, but not simpler."- Albert Einstein (1879-1955)

"It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw 
(1856-1950)




__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

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



Re: URL Parsing Problem

2004-06-11 Thread Koundinya \(Sudhakar Chavali\)
Hi Julian,

I did similary the way you have explained but

instead of taking the same information, it has built the new url

The value I inputted is http://ads.exchange:80/Exchange/Administrator/S
ent%20Items/Test%20%%23123.EML

Here is the output
http://ads.exchange:80/Exchange/Administrator/Sent%20Items/Test%20%2523123.EML

thanks
sudhakar
--- Julian Reschke <[EMAIL PROTECTED]> wrote:
> Koundinya (Sudhakar Chavali) wrote:
> 
> > Hello All,
> > 
> > Here is the scenario
> > 
> > I am using Slide project to access MS-Exchange Server mails.
> > 
> > In MS Exchange Server API, the mails will be created with their subjects.If the 
> > mail subject
> is
> > Test#10 for an example it creates Test#10.eml object in ms exchange server.
> > 
> > if i use the following procedure to create the mail object, url is not building 
> > properly and i
> am
> > getting the wrong out put
> > url = new org.apache.commons.httpclient.HttpURL(username, password,
> > hostname, port, strPath);
> > 
> > for an example if this is the URL
> > http://comp62/exchange/Administrator/Inbox/Test%20#123.EML
> 
> This is an absolute HTTP URL 
> ("http://comp62/exchange/Administrator/Inbox/Test%20";) plus a fragment 
> identifier ("#123.EML").
> 
> You probably need: 
> "http://comp62/exchange/Administrator/Inbox/Test%20%23123.EML";
> 
>  > ...
> 
> Best regards, Julian
> 
> -- 
> bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


=
"No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925) 

"Make everything as simple as possible, but not simpler."- Albert Einstein (1879-1955)

"It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw 
(1856-1950)




__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

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



URL Parsing Problem

2004-06-11 Thread Koundinya \(Sudhakar Chavali\)
Hello All,

Here is the scenario

I am using Slide project to access MS-Exchange Server mails.

In MS Exchange Server API, the mails will be created with their subjects.If the mail 
subject is
Test#10 for an example it creates Test#10.eml object in ms exchange server.

if i use the following procedure to create the mail object, url is not building 
properly and i am
getting the wrong out put
url = new org.apache.commons.httpclient.HttpURL(username, password,
hostname, port, strPath);

for an example if this is the URL
http://comp62/exchange/Administrator/Inbox/Test%20#123.EML

and passed to the HttpURL , output object i am getting is
http://comp62/exchange/Administrator/Inbox/Test%20 which is not the correct one. So i 
am not able
to download the mails from ms exchange server because of this problem. Is this the bug 
in slide?
or do i need to use any other procedure to build the object.

Thanks
Sudhakar

=
"No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925) 

"Make everything as simple as possible, but not simpler."- Albert Einstein (1879-1955)

"It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw 
(1856-1950)




__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

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



HTTPS : Download Attachments from MS Exchange Server

2004-04-24 Thread Koundinya \(Sudhakar Chavali\)
Hi All,

I just started a small project where i need to communicate with
MS Exchange Server . For this I  choose Slide Project and
working fine  . 

But when i try to download the attachments from the Exchange
server which is configured to HTTPS protocol, I am unable to do
it so because webDavResourceFile.getMethodData() is returning
any empty input stream i.e.
webDavResourceFile.getMethodData().available() is returning
always a zero for me. So obviously i am not able to download
them

The Same thing is working if the server is configured to HTTP
Protocol.

So please help me to get the attachments when it is configured
to HTTPS protocol 

thanks
sudhakar

=
"No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925) 

"Make everything as simple as possible, but not simpler."- Albert Einstein (1879-1955)

"It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw 
(1856-1950)




__
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash

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



What is Slide Project

2004-03-31 Thread Koundinya \(Sudhakar Chavali\)
 Hi All,
 
 I just wanted to know What is slide project. In what type of
 applications I can use this
 
 Regards
 Sudhakar

=
"No one can earn a million dollars honestly."- William Jennings Bryan (1860-1925) 

"Make everything as simple as possible, but not simpler."- Albert Einstein (1879-1955)

"It is dangerous to be sincere unless you are also stupid."- George Bernard Shaw 
(1856-1950)

__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

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