• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URL from java to Google Analytics

 
Isaac Durá
Ranch Hand
Posts: 859
2
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am asking the server with an Url which I have created with a java method and I get this error:


This is the URL :




And this are the values which I stored in Google



When I created my Redirect URIs, I typed http://www.virtualenvironment.eu but it added the oauth2callback authomatically.

But it doesn´t find http://www.virtualenvironment.eu/oauth2callback, when the petition is authorized and redirected. I breaking my head with this problem


I am very interested in know this.
Any idea, please?

Many Thanks,
 
harshvardhan ojha
Ranch Hand
Posts: 157
1
Android Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Angus it seems to be a simple problem
/oauth2callback is it present in your url pattern?? i mean this is 404 error. And it seems client has made request for a resource which server doesn't have.
check your web.xml for
<url-pattern>/oauth2callback</url-pattern>
 
Isaac Durá
Ranch Hand
Posts: 859
2
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, thank for reply.

In the xml of my app what way shouldl I define that, maybe like this?




Many Thanks,
 
harshvardhan ojha
Ranch Hand
Posts: 157
1
Android Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
see if you servlet is mapped properly.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic