What is ECM? (zt)
windows下通过sc命令可以很方便的控制系统服务,基本语法:
sc [command] [service name] <option1> <option2>
启动一个服务:sc start [service name]
停止一个服务:sc stop [service name]
禁用一个服务:sc config [service name] start= disabled (注意"start="后面有一个空格)
利用该命令,可以写一个关闭禁用系统无用服务的批处理脚本(点击更多查看)
Originally, it's the name of C function, used to convert a string into an integer.
But fashion is the forever subject in the earth, so, not it is iAto (similar to iPod, iPhone and so on), and it's the abbreviation of
先说我尝试失败的方法(也是网上讨论的比较多的方法)
1、使用org.apache.strtus2.ServletActionContext
HttpServletRequest req = ServletActionContext.getRequest();
运行没有问题,但是使用getParameterMap()并没有能够得到相应数据
2、使用com.opensymphony.xwork2.ActionContext
HttpServletRequest req = (HttpServletRequest)ActionContext.getContext.get(ServletActionContext.HTTP_REQUEST);
也不好用
3、使用com.opensymphony.xwork2.ActionContext.getParameters()来得到Map
可以。