Code Monkey home page Code Monkey logo

weather-app's Introduction

Java EE 8 - Weather App

This directory contains an example Java EE 8 app that is used by the Java EE 8 scenarios of learn.openshift.com

Branches

  • master - contains the starting branch for a user
  • solution - contains the finished app that they user should end up with after completing the scenarios from learn.openshift.com

weather-app's People

Contributors

tqvarnst avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

weather-app's Issues

Cookies not sent because marked Secure, jQuery not loaded because of mixed content

First off, thanks for this excellent tutorial. I really enjoyed it.

I encountered an issue in the Getting Started with JBoss EAP on OpenShift tutorial where it seemed that the SessionScoped country always "en" even after choosing a different country. I realized this was because the JESSSIONID cookie was blocked on the PUT request because it's marked Secure and the application is opened in http (the links in the tutorial use http). After I opened the application in https, I encountered another error: the jQuery script is loaded with http, so Chrome blocks "mixed content".

So two fixes are necessary:

  1. Fix the application links in the tutorial. For example, on this page where it says "Now, try to access the service by calling going to the OpenShift console and click on the route link or use this link", make sure the link uses https. There are several of these links in the tutorial!
  2. In index.html, load the jQuery script with HTTPS.
    <script src="http://ajax.aspnetcdn.com/ajax/jquery.templates/beta1/jquery.tmpl.min.js" type="text/javascript"></script>

Open the application in http:
image

Open the application in https:
image

I reported an issue on the Katacode GitHub too:

openshift-labs/learn-katacoda#890

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.