Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ajax call from a JSP-Page

Alexander Gerg
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Community.
I have a problem using Ajax in my JSF-Application.
I'm running a tomcat-container and want to access php-File placed in my "htdocs" of the apache server.
When i make a call like:

function getOnline(action, attribute, wait_id) {
var url = ''+action ...
// Here comes the trouble
// always the same "Access to restricted URI denied"'get', url);
http.onreadystatechange = verarbeiteOnline;

I was trying to put localhost or localhost:80 instead of my IP but no chance to make it work.

Anyone an idee what i'am doing wrong???
Thank you!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic