JHipster non-angular landing page
NickName:Interfaced Ask DateTime:2016-09-12T07:34:30

JHipster non-angular landing page

I want to use plain html views in a JHipster project as a landing page. Is there a best practice for a Spring-Boot controller? My goal is to use a non-angular html page for the path "/". The angular-index.html is loaded automatically by spring boot defaults. I do not understand how i can make use this autoconfiguration of spring boot and at the same time have a non-angular view for the path "/".

@RequestMapping("/")
public String hi() {
    return "hi";
}

This is the method to render the "hi.html" view, located in /resources/templates. The view is displayed correctly but i can not address the angular app anymore (ex. /home).

Copyright Notice:Content Author:「Interfaced」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/39441655/jhipster-non-angular-landing-page

More about “JHipster non-angular landing page” related questions

JHipster non-angular landing page

I want to use plain html views in a JHipster project as a landing page. Is there a best practice for a Spring-Boot controller? My goal is to use a non-angular html page for the path "/". The angular-

Show Detail

Landing page to jhipster application?

This might be a stupid question, but...What is the wisest way to implement landing page to jhipster? At the moment there is that bootsrap well in content. New index html where is the link to jhipster

Show Detail

Changing Jhipster/Angular landing page from home.html to login.html

There is a modal login.html in jhipster generated project. As landing page, home.html comes up first as default. Is there any configuration point to change the landing page? How can I set login.htm...

Show Detail

jHipster + react application, change landing page to new one

I have created an application with jhipster + react. Its a default application generated by jHipster. How to change the default landing page(Home page) to a different page. How do I do it? I am qui...

Show Detail

Change Jhipster landing page based on Authority

I have seen that one could change Jhipster landing page by including this, registerAuthenticationSuccess() { this.eventManager.subscribe('authenticationSuccess', (message) => { this.

Show Detail

translation-not-found[landing.title] on the title bar in jhipster 6.5.1

I am having this error "translation-not-found[landing.title]" displaying on the title bar of some of the pages in a jhipster application. I checked on stackoverflow for similar issues and I

Show Detail

JHipster - Change default page to some entity page

I'm trying to create a small application with jhipster and now i'm trying to change the default landing page (/) to a specific entity page. There's a way to do this?

Show Detail

Protractor: non-angular login page is reloading

I'm testing an angular page but before I have to log in on non-angular page which goes also to non-angular one. When I try to run my test and input username and password the page is reloading. In my

Show Detail

Calling from a non-angular to an angular page

Question: Can I forward to an angular page from a non-angular page and pass couple of parameters from the non-angular page using form submit (post). Non Angular page (page 1) with a form (param1 and

Show Detail

How to get variable of a textbox in a non-angular page using Protractor?

I am trying to test a non-angular page using Protractor. I am getting one input value of non-angular page with: console.log(browser.driver.findElement(by.ID('username')).getText()); It's display...

Show Detail