You cannot transfer arbitrary objects as URL parameters. Restrict yourself to strings and numbers, dates can already be tricky.
In your case it looks like you should use: cc= @a.Comp.Id
.
You should be able to retrieve the object serverside from its Id.