Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8358641
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T10:51:52+00:00 2026-06-09T10:51:52+00:00

Trying to include simple HTML5 page instead of scala templates.. For this I have

  • 0

Trying to include simple HTML5 page instead of scala templates..

For this I have tried creating a simple HTML page in my views, But how can I redirect my app to this page ?

What I am trying to achieve is to use HTML pages as my UI and Play controller for POST and GET JSON data to the ui pages which will allow me to decouple UI

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T10:51:54+00:00Added an answer on June 9, 2026 at 10:51 am

    See the routes file, on the end there is route for assets – static files like CSS, JS and images placed in public directory.

    You can create similar folder for your static HTML files and add a separate route(s) the same as for assets.

    You can also add your file into the views as ie. static_html5.scala.html and just don’t add any scala functions to it (just to remember leave first line of the file empty) In such case only thing you’ll need to remember is to replace any @ to @@ (ie.: My email is bob@@example.com )

    In such case you can render it as a common template without params:

    public static Result index(){
        return ok(static_html5.render());
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to build a simple html page which include some text paragraph, during
I am trying to get jscrollpane working on a very simple page, but for
Simple question, I have a simple _Layout page and I am trying to group
I was trying to validate a simple HTML5 page, and it successfully validates everything
I am trying to create a simple registration form. I have the following: include('User.datatype.php');
I am trying to create simple user registration form. I have an index.html file
I'm trying to include a simple hash table class in some files with a
I'm trying include this barcode source code Stefanhafeneger - Barcode github.com to my project
I am trying to include an IF within my LET in LINQ but i
I'm trying to include a hyperlink in my email but it is just showing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.