×
=0) { let js = text.slice(pos1, pos2); + '<\/' + "script" + '>'; arrText.push(js); // next pos1 = pos2; continue; } } } break; } return arrText; } function OpenDialog(parentDiv, urlContent) { parentDiv = document.getElementById('modal-background'); // new !!!!!!! parentDiv.appendChild(document.getElementById('modal-template')); document.getElementById('modal-background').style.display = "block"; document.getElementById('modal-template').style.display = "flex"; // !!!!! document.getElementById('modal-body').innerHTML = ""; post_url(urlContent, "", function(text_from_server) { var element = document.getElementById('modal-body'); element.innerHTML = text_from_server; // add scripts var arrJSText = get_scripts(text_from_server); for (var i=0; i
dir.by
Search
Programming, development, testing
→
Java
→
Jakarta EE / Java EE in Java (Web Applications, Web Services)
→
Creating a simple web project in IntelliJ Idea Ultimate | Jakarta EE (Java EE)
Looked at
1916
times
Comments
1
Last Comment
:
(14 December 2024 13:01) клево
read...
Write a comment...
Creating a simple web project in IntelliJ Idea Ultimate | Jakarta EE (Java EE)
last updated: 14 February 2025
Note!
You must have
Java JDK
installed. If you don't have it, then
need to download and install
Java JDK
...
Note!
You must have
IntelliJ IDEA Ultimate
installed. If you don't have it, then
can be downloaded and installed for free
IntelliJ IDEA Ultimate
...
Step 1. Creating a new project
Select
Jakarta EE
:
Since we have a simple project, do not check the boxes:
The project was created:
Step 2. Create a new html file
Right-click on the folder
main
and create a new
HTML
file
Let's write the name of the file
index.html
Press Enter
The file was created.
Inside the
index.html
file, add the code:
<!DOCTYPE
html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<title>
Title
</title>
</head>
<body>
<b>
Hello my friend!
</b>
<div
style=
"color: green"
>I am glad to see you ☺
</div>
</body>
</html>
Step 3. Launching the project
To start the project, you need to open the
index.html
file and click on the green triangle:
The browser will automatically start and see the result:
← Previous topic
What is Jakarta EE (Java EE)? | In which editor (program) is it convenient to write Jakarta EE (Java EE) code?
Next topic →
What is Struts | Java
Your feedback ...
1
Comments
guest
14 December 2024 13:01
клево
answer
Your Name
Your comment
(www links can only be added by a logged-in user)
+ Picture
Объявления
Объявления
Download and install
•
Installation JDK (download and install the Java library for Windows)
•
Download and install IntelliJ IDEA to explore Java, Spring, Jakarta EE | Functionality and differences: Community | Ultimate
Learn the language Java (class, interface, properties, etc.)
•
Create a simple console app in IntelliJ IDEA to learn Java
•
What is interface in Java ?
•
Directly in the code (at runtime) we make an implementation for the interface | Java
Java web application (servlet, jsp page, basic functionality and no frameworks)
•
Creating a new simple web application (jsp web page) | Java, Maven
•
Create a web servlet (the servlet is located on the web server, returns the result on request) | Java
•
Installation Tomcat web server (download and install for Windows)
•
Check, test Tomcat web server (create a new my.hml file)
•
What is Maven
•
What is a dynamic web page jsp (Java Server Page) ?
•
How to install Smart Tomcat plugin in Intellij Idea
•
Error "The SDK is not specified for module ... | Project SDK is not defined ..." in IntelliJ IDEA | Java
Spring in Java (Spring Framework, Spring Data, Spring Boot, ...)
•
What is Spring? Why use Spring in Java?
•
What is Spring Bean? What is Spring Container? IoC (inversion of control) | Creating a simple Spring project and configuration Spring Container in an XML file | Editor IntelliJ Idea and language Java
•
What is Dependency Injection in Spring? Creating a simple Spring project with Dependency Injection in the constructor with the attributes @Component, @Autowired | Editor IntelliJ Idea and language Java
•
Creating a new Spring web application (Controller responds to request) | Java, Spring Web, Spring Boot, Maven
•
Creating a new Spring WebSocket application (Java WebSocket sends a message to the JavaScript WebSocket) | Java, Spring WebSocket, Spring Boot, Maven
•
Create Azure Web App with the type Java (free). That is, create an empty web server
•
Put the Java Spring web application in Azure
•
Connect to the application Azure Web App (Java) via FTP | use File Explorer
•
Error "The SDK is not specified for module ... | Project SDK is not defined ..." in IntelliJ IDEA | Java, Spring Boot
•
How to install Spring WebSocket plugin in Intellij Idea
Jakarta EE / Java EE in Java (Web Applications, Web Services)
•
What is Jakarta EE (Java EE)? | In which editor (program) is it convenient to write Jakarta EE (Java EE) code?
•
Creating a simple web project in IntelliJ Idea Ultimate | Jakarta EE (Java EE)
Struts in Java (extends API Java Servlet using MVC)
•
What is Struts | Java
•
Interviews on Java
Ваши вопросы присылайте по почте:
info@dir.by