Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 235
Registered: ‎11-12-2008
My Device: Not Specified

Regarding Redirection url


How can I access data of a redirection URL programmitacally.I don't want to open a url .I want to access data of redirect url by connection method.But it gives the problem.The first url doesn't automatically redirects to the new url.How can i access the data ?  

BlackBerry Development Advisor
Posts: 15,697
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Regarding Redirection url

[ Edited ]
An HTTP 3## redirection response should include a link to the target page in the Location header.  You could read this header to get the redirection link.
Message Edited by MSohm on 12-19-2008 03:31 PM
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker