Skip to main content
avillanueva
23-Emerald I
23-Emerald I
May 24, 2011
Question

Real simple - object reference in URL for oid parameter

  • May 24, 2011
  • 1 reply
  • 725 views
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-Visitor
May 24, 2011
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?
>