Re: [AngularJS] Re: angular application getting an error from a tomcat application

2017-04-20 Thread Reza Razavipour
it turns out that the issue is the server needing to check the JSESSIONID
found in the cookie.
So what I need to end up doing is to send a "fabricated" cookie along with
my requests.
No I am not trying to hack anything, but merely allow myself to test the
code using an external mock client web app.

Any guidance or sample code on how to hand craft a cookie and how to send
that along with the http requests?

Regards,
Reza

On Wed, Apr 19, 2017 at 7:42 PM, Sander Elias  wrote:

> Hi Reza,
>
> It looks like you are trying to load a page that's designed to be loaded
> in a browser/iframe directly. I highly doubt it has anything to do with
> angular. Look in the dev-tool network tab at what you are receiving.
>
> Regards
> Sander
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Angular and AngularJS discussion" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/angular/mTTtrIdntXg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> angular+unsubscr...@googlegroups.com.
> To post to this group, send email to angular@googlegroups.com.
> Visit this group at https://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


[AngularJS] Re: angular application getting an error from a tomcat application

2017-04-19 Thread Sander Elias
Hi Reza,

It looks like you are trying to load a page that's designed to be loaded in 
a browser/iframe directly. I highly doubt it has anything to do with 
angular. Look in the dev-tool network tab at what you are receiving.

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


[AngularJS] Re: angular application getting an error from a tomcat application

2017-04-19 Thread khushi verma
Hi Reza,

Seems Javascript is disabled in your browser. follow below steps to enable 
JS in chrome browser.


   1. On the web browser menu click on the "Customize and control Google 
   Chrome" and select "Settings".
   2. In the "Settings" section click on the "Show advanced settings..."
   3. Under the the "Privacy" click on the "Content settings...".
   4. When the dialog window opens, look for the "JavaScript" section and 
   select "Allow all sites to run JavaScript (recommended)".
   5. Click on the "OK" button to close it.
   6. Close the "Settings" tab.
   7. Click on the "Reload this page" button of the web browser to refresh 
   the page.



Thanks,
Khushi

On Wednesday, April 19, 2017 at 10:03:06 PM UTC+5:30, Reza Razavipour wrote:
>
> I have an angular 2 application that makes http get calls to a tomcat 
> server (Java).
> when I make the call, in the browser console, I see a long error ending 
> with
> Not sure what the cause is and what the solution might be.
>
> Anyone dealt with this before?
>
> *Sorry, JavaScript must be enabled in order for you to use this 
> application.*
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.