Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

96
Views
Why is using Middleware.statics not recognized?

I am trying to access an html file that I created in vsCode through java using the app.use Middleware Function but it doesn't seem to be working.

This is a view of the error and what I am trying to do exactly

try {
            app.use(Middleware.statics(Paths.get("src/www").toString()));
        } catch (IOException e) {
            e.printStackTrace();
        }
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

express.js is a node.js framework, and node.js is a runtime environment that runs javascript codes on the server-side, these are completely different with Java programming language. see this

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!