Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (13.1k points)
Can anyone help me with the framework of Java other than expressjs?

1 Answer

0 votes
by (26.7k points)

You can use the below framework which is similar to expressjs:

Express app  = new Express();

app.get("/", (req, res) -> {

    res.send("Hello World");

});

app.listen();

I hope this will help.

Want to become a Java Expert? join Java Certification now!!

Related questions

0 votes
1 answer
0 votes
2 answers
0 votes
1 answer
asked Feb 17, 2021 in Java by Harsh (1.5k points)
0 votes
1 answer
0 votes
1 answer
asked Nov 18, 2020 in Java by dev_sk2311 (45k points)

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...