Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jweb-e001
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
Matias Ferreira
jweb-e001
Commits
9c126423
Commit
9c126423
authored
Sep 22, 2020
by
Matias Ferreira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
agregue detalles a cada uno de los ejercicios, escribi detalles en el archivo README
parent
135e4b1a
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
27 additions
and
0 deletions
+27
-0
README.md
+9
-0
WebProjectTest/build/classes/com/roshka/webprojecttest/servlets/FactorialResponseServlet.class
+0
-0
WebProjectTest/build/classes/com/roshka/webprojecttest/servlets/ShowMeTheBitsResponseServlet.class
+0
-0
WebProjectTest/build/classes/com/roshka/webprojecttest/servlets/TablaMultiplicarResponseServelet.class
+0
-0
WebProjectTest/src/com/roshka/webprojecttest/servlets/FactorialResponseServlet.java
+6
-0
WebProjectTest/src/com/roshka/webprojecttest/servlets/ShowMeTheBitsResponseServlet.java
+6
-0
WebProjectTest/src/com/roshka/webprojecttest/servlets/TablaMultiplicarResponseServelet.java
+6
-0
No files found.
README.md
View file @
9c126423
# Ejercicio de Java WEB 001
Para descargar el archivo se debe ejecutar el siguiente comando:
```
git clone https://phoebe.roshka.com/gitlab/mferreira/jweb-e001.git
```
Una vez hecho correr el proyecto en algun servidor, en la raiz del proyecto, localhost:8080/WebProjectTest/, se encuentran tres enlaces para acceder a cada uno de los ejercicios.
\ No newline at end of file
WebProjectTest/build/classes/com/roshka/webprojecttest/servlets/FactorialResponseServlet.class
View file @
9c126423
No preview for this file type
WebProjectTest/build/classes/com/roshka/webprojecttest/servlets/ShowMeTheBitsResponseServlet.class
View file @
9c126423
No preview for this file type
WebProjectTest/build/classes/com/roshka/webprojecttest/servlets/TablaMultiplicarResponseServelet.class
View file @
9c126423
No preview for this file type
WebProjectTest/src/com/roshka/webprojecttest/servlets/FactorialResponseServlet.java
View file @
9c126423
...
@@ -71,6 +71,12 @@ public class FactorialResponseServlet extends HttpServlet {
...
@@ -71,6 +71,12 @@ public class FactorialResponseServlet extends HttpServlet {
+
"<body>"
+
"<body>"
+
"<h1>Soy un generador de factorial de numeros</h1>"
+
"<h1>Soy un generador de factorial de numeros</h1>"
+
"<div>"
+
"<div>"
+
"<form action=\"factorial-response\" >"
+
"Introduzca el numero: <input type=\"text\" name=number><br>"
+
"<input type=\"submit\">"
+
"</form>"
+
"</div>"
+
"<div>"
+
"<p>El factorial de "
+
numero
+
" es: "
+
facto
+
"</p>"
+
"<p>El factorial de "
+
numero
+
" es: "
+
facto
+
"</p>"
+
"</div>"
+
"</div>"
+
"</body>"
+
"</body>"
...
...
WebProjectTest/src/com/roshka/webprojecttest/servlets/ShowMeTheBitsResponseServlet.java
View file @
9c126423
...
@@ -80,6 +80,12 @@ public class ShowMeTheBitsResponseServlet extends HttpServlet {
...
@@ -80,6 +80,12 @@ public class ShowMeTheBitsResponseServlet extends HttpServlet {
+
"</head>"
+
"</head>"
+
"<body>"
+
"<body>"
+
"<h1>Soy un conversor de sistemas de numeracion</h1>"
+
"<h1>Soy un conversor de sistemas de numeracion</h1>"
+
"<div>"
+
"<form action=\"show-me-the-bits-response\" >"
+
"Introduzca el numero: <input type=\"text\" name=number><br>"
+
"<input type=\"submit\">"
+
"</form>"
+
"</div>"
+
"<table>"
+
"<table>"
+
"<tr>"
);
+
"<tr>"
);
for
(
int
i
=
15
;
i
>=
0
;
i
--)
{
for
(
int
i
=
15
;
i
>=
0
;
i
--)
{
...
...
WebProjectTest/src/com/roshka/webprojecttest/servlets/TablaMultiplicarResponseServelet.java
View file @
9c126423
...
@@ -67,6 +67,12 @@ public class TablaMultiplicarResponseServelet extends HttpServlet {
...
@@ -67,6 +67,12 @@ public class TablaMultiplicarResponseServelet extends HttpServlet {
+
"</head>"
+
"</head>"
+
"<body>"
+
"<body>"
+
"<h1>Soy un generador de tablas de multiplicar</h1>"
+
"<h1>Soy un generador de tablas de multiplicar</h1>"
+
"<div>"
+
"<form action=\"tabla-multiplicar-response\">"
+
"Enter 1st number: <input type=\"text\" name=number><br>"
+
"<input type=\"submit\">"
+
"</form>"
+
"</div>"
+
"<table style=\"width:5%\">"
+
"<table style=\"width:5%\">"
+
"<tr>"
+
"<th>"
+
numero
+
"</th>"
+
"<th>*</th>"
+
"<th>1 </th>"
+
"<th>=</th>"
+
"<th>"
+(
numero
*
1
)
+
"</th>"
+
"</tr>"
+
"<tr>"
+
"<th>"
+
numero
+
"</th>"
+
"<th>*</th>"
+
"<th>1 </th>"
+
"<th>=</th>"
+
"<th>"
+(
numero
*
1
)
+
"</th>"
+
"</tr>"
+
"<tr>"
+
"<th>"
+
numero
+
"</th>"
+
"<th>*</th>"
+
"<th>2 </th>"
+
"<th>=</th>"
+
"<th>"
+(
numero
*
2
)
+
"</th>"
+
"</tr>"
+
"<tr>"
+
"<th>"
+
numero
+
"</th>"
+
"<th>*</th>"
+
"<th>2 </th>"
+
"<th>=</th>"
+
"<th>"
+(
numero
*
2
)
+
"</th>"
+
"</tr>"
...
...
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