Package springblog.pojo

Examples of springblog.pojo.Tag


  private TagManager tagManager = null;
 
 
  @RequestMapping(value = "/add", method = RequestMethod.GET)
  public String addTag(Model model) {
    model.addAttribute("tag", new Tag());
    return "tag-form";
  }
View Full Code Here


class TagRowMapper implements RowMapper<Tag> {

  @Override
  public Tag mapRow(ResultSet rs, int numRow) throws SQLException {
    Tag tag = new Tag();
    tag.setId(rs.getInt("id"));
    tag.setName(rs.getString("name"));
    return tag;
  }
View Full Code Here

TOP

Related Classes of springblog.pojo.Tag

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.