sdsfdsfdfdfd

前端之家收集整理的这篇文章主要介绍了sdsfdsfdfdfd前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

dsfdfdsfd


package com.zq.blog.action;


import org.apache.struts2.convention.annotation.Action;

import com.zq.blog.service.ArticleService;

public class ArticleAction extends BaseAction{
			
	private String searchstr;
	private ArticleService articleService;
	
	public ArticleAction(){
		this.articleService = new ArticleService();
	}
	
	@Action("initblog")
	public void initBlog(){
		String[] strs = searchstr.split("=");
		long blogxh = Long.parseLong(strs[1]);
		this.write(articleService.initBlog(blogxh));
	}
	public String getSearchstr() {
		return searchstr;
	}

	public void setSearchstr(String searchstr) {
		this.searchstr = searchstr;
	}

	
	
	



	
	
}
原文链接:https://www.f2er.com/javaschema/284535.html

猜你在找的设计模式相关文章