Skip to content

Instantly share code, notes, and snippets.

View lifeF's full-sized avatar
🍊
I may be slow to respond.

Kalana lifeF

🍊
I may be slow to respond.
  • WSO2 Intern
  • Peradeniya
View GitHub Profile
@lifeF
lifeF / README-Template.md
Created November 6, 2017 01:02 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@keesun
keesun / FileUploadServlet.java
Created January 13, 2012 03:19
Servlet 3.0's FileUpload Sample
@WebServlet("/upload")
@MultipartConfig(location = "/tmp")
public class FileUploadServlet extends HttpServlet {
@Override
protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
getServletContext().getRequestDispatcher("/WEB-INF/views/fileUpload.jsp").forward(req, res);
}
@Override