cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Translate the entire conversation x

Real simple - object reference in URL for oid parameter

avillanueva
23-Emerald I

Real simple - object reference in URL for oid parameter

I do not do this often but when constructing a URL with an OID parameter, what is the best method of writing out the object reference to match the OID parameter? Example, I have an ECR object in JSP page. I would like to write it as OR%3Awt.change2.WTChangeRequest2%3A1234566. That's an object reference right? What's the method call?
1 REPLY 1

Hi Antonio,

You can use java.net*.URLEncoder.encode* method to convert any
string to URL string. Similary decoding api is *URLDecoder.decode*.


Prathap <">http://goo.gl/LuT5>



On Tue, May 24, 2011 at 6:29 AM, Villanueva, Antonio <
-> wrote:

> I do not do this often but when constructing a URL with an OID parameter,
> what is the best method of writing out the object reference to match the OID
> parameter? Example, I have an ECR object in JSP page. I would like to write
> it as OR%3Awt.change2.WTChangeRequest2%3A1234566. That's an object reference
> right? What's the method call?
>
Announcements

Top Tags