Skip to content

Instantly share code, notes, and snippets.

@yasakbulut
Created August 14, 2014 13:16
Show Gist options
  • Save yasakbulut/85f1bbec1cfe5c33ee98 to your computer and use it in GitHub Desktop.
Save yasakbulut/85f1bbec1cfe5c33ee98 to your computer and use it in GitHub Desktop.
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<h1>Add new blog post</h1>
<div>
<form action="./addPost" method='POST'>
<label for="title_input">Post Title:</label>
<input type="text" name="title" id="title_input">
<br>
<label for="content_input">Content:</label>
<textarea name="content" id="content_input" cols="30" rows="10"></textarea>
<br>
<button type="submit">Add Blog Post</button>
</form>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment