mirror of
https://github.com/m-lamonaca/dev-notes.git
synced 2025-06-08 18:57:12 +00:00
remove mkdocs specific syntax
This commit is contained in:
parent
8d08c1964f
commit
8026e1465b
77 changed files with 1128 additions and 1128 deletions
|
@ -5,7 +5,7 @@ Although servlets can respond to many types of requests, they most commonly impl
|
|||
|
||||
## Basic Structure
|
||||
|
||||
```java linenums="1"
|
||||
```java
|
||||
package <package>;
|
||||
|
||||
import java.io.IOException;
|
||||
|
@ -39,7 +39,7 @@ public class <className> extends HttpServlet {
|
|||
|
||||
## Servlet Instructions
|
||||
|
||||
```java linenums="1"
|
||||
```java
|
||||
request.getParameter() // read request parameter
|
||||
|
||||
response.setContentType("text/html"); // to return HTML in the response
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue