Skip to content

Instantly share code, notes, and snippets.

import { Component, OnInit, OnDestroy } from '@angular/core';
import { HttpHeaders, HttpResponse } from '@angular/common/http';
import { ActivatedRoute } from '@angular/router';
import { Subscription } from 'rxjs';
import { JhiEventManager, JhiParseLinks } from 'ng-jhipster';
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
import { IPlan } from 'app/shared/model/plan.model';
import { ITEMS_PER_PAGE } from 'app/shared/constants/pagination.constants';
package com.example.depdev.controller;
import com.example.depdev.entity.Task;
import com.example.depdev.repository.TaskRepository;
import com.example.depdev.service.TaskService;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
....
<form action="#" th:action="@{/greeting}" method="post">
.....