my dog learned polymorphism*
The moose likes Java in General and the fly likes URL from java to Google Analytics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "URL from java to Google Analytics" Watch "URL from java to Google Analytics" New topic
Author

URL from java to Google Analytics

Isaac Ferguson
Ranch Hand

Joined: Jun 22, 2012
Posts: 321
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

Joined: Jul 26, 2007
Posts: 157
    
    1

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 Ferguson
Ranch Hand

Joined: Jun 22, 2012
Posts: 321
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

Joined: Jul 26, 2007
Posts: 157
    
    1

see if you servlet is mapped properly.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: URL from java to Google Analytics
 
Similar Threads
Tomcat Realms not working between apps with FORM
A 404 Error, need help configuring web.xml
Trouble generating web service client
After logout in JSF relogin withtout credentials possible
How to control redirection: http, https, and trailing slashes