Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
misuperproyecto
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nahuel Mereles Rodriguez
misuperproyecto
Commits
305fc37a
Commit
305fc37a
authored
May 11, 2022
by
Jose Baez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Se cambia dependencia javax por jakarta
parent
52adb4eb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
10 deletions
+17
-10
.idea/vcs.xml
+7
-0
pom.xml
+3
-3
src/main/java/com/roshka/proyectofinal/HelloServlet.java
+7
-7
No files found.
.idea/vcs.xml
0 → 100644
View file @
305fc37a
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"VcsDirectoryMappings"
>
<mapping
directory=
"$PROJECT_DIR$"
vcs=
"Git"
/>
</component>
</project>
\ No newline at end of file
pom.xml
View file @
305fc37a
...
@@ -19,9 +19,9 @@
...
@@ -19,9 +19,9 @@
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
ja
vax
.servlet
</groupId>
<groupId>
ja
karta
.servlet
</groupId>
<artifactId>
ja
vax
.servlet-api
</artifactId>
<artifactId>
ja
karta
.servlet-api
</artifactId>
<version>
4.0.1
</version>
<version>
5.0.0
</version>
<scope>
provided
</scope>
<scope>
provided
</scope>
</dependency>
</dependency>
<dependency>
<dependency>
...
...
src/main/java/com/roshka/proyectofinal/HelloServlet.java
View file @
305fc37a
package
com
.
roshka
.
proyectofinal
;
package
com
.
roshka
.
proyectofinal
;
import
jakarta.servlet.annotation.WebServlet
;
import
jakarta.servlet.http.HttpServlet
;
import
jakarta.servlet.http.HttpServletRequest
;
import
jakarta.servlet.http.HttpServletResponse
;
import
java.io.*
;
import
java.io.*
;
import
javax.servlet.http.*
;
import
javax.servlet.annotation.*
;
@WebServlet
(
name
=
"helloServlet"
,
value
=
"/hello-servlet"
)
@WebServlet
(
name
=
"helloServlet"
,
value
=
"/hello-servlet"
)
public
class
HelloServlet
extends
HttpServlet
{
public
class
HelloServlet
extends
HttpServlet
{
private
String
message
;
private
String
message
=
"HOLA"
;
public
void
init
()
{
message
=
"Hello World!"
;
}
public
void
doGet
(
HttpServletRequest
request
,
HttpServletResponse
response
)
throws
IOException
{
public
void
doGet
(
HttpServletRequest
request
,
HttpServletResponse
response
)
throws
IOException
{
response
.
setContentType
(
"text/html"
);
response
.
setContentType
(
"text/html"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment