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
> > 
> > -- 
> > <green/>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]

Reply via email to