Hi Tobie,
Thanks for your reply. The page making this request also in
8080 port but in a different URL i.e.
http://localhost:8080/AT/htmls/jsonemployee.html
Based on "Same Origin Policy", I also change page location to
http://localhost:8080/AT/jsonemployee.html so that servlet and html
page are in same URL.
But still I get the same error.
regards,
Ranjan
On Feb 23, 12:58 pm, "tobie" <[EMAIL PROTECTED]> wrote:
> Hi Ranjan,
>
> You're most probably breaking the Same Origin
> Policy:http://en.wikipedia.org/wiki/Same_origin_policy
>
> i.e. for this to work, the page triggering the request must be on the
> same port.
>
> Best,
>
> Tobie
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---