![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
javaweb
文章平均质量分 62
hjz568
这个作者很懒,什么都没留下…
展开
-
jsp图片没有上传没有缩略图,怎么回事
wedding rel="stylesheet"> $(function() { //清空上传的图片 $(document).on('click', '.j_img_clear', function() { $(this).next('input').val('')原创 2014-02-10 19:23:49 · 1064 阅读 · 1 评论 -
ICode code=icodeDao.find(); target.setMyInviteCode(String.valueOf(code.getCode())); super.add(
1. String str=String.valueOf(n); 这个语句的意思是,返回String类型的n的值。n现在是long类型,需要想转换成String类型,这时候依就用这个语句。 2. 下面是注释,如果不理解,请追问。 public class Test4032{ public static void main(String []args ){ int ri,转载 2014-04-14 23:08:47 · 779 阅读 · 0 评论 -
异步请求是不能返回SUCCESS的,要用HttpServletResponse
@Override public String execute(){ SiteGuide wedding = weddingBiz .load(params.getWeddingId()); /* if(wedding == null) return ERROR;*/ // 接收参数 target = new SiteWeddingGo ((SiteWeddi原创 2014-04-15 17:32:48 · 2011 阅读 · 0 评论 -
java代码实现ajax 顶和踩功能。
先是jquery代码: $("input[name='btn_up']").click(function(){ var val = $(this).attr("data_id"); $.ajax({ type: "POST", url: '', data: "tag=up&id="+val, success: function(msg){ alert("su原创 2014-03-21 15:11:12 · 558 阅读 · 0 评论 -
The interface EntityDao cannot be implemented more than once with different arguments: EntityDao<Sit
The interface EntityDao cannot be implemented more than once with different arguments: EntityDao and EntityDao 解决方案是:原创 2014-04-17 19:49:19 · 5932 阅读 · 0 评论 -
写加密方法,希望大神知点和分享我们的技术
/** * 将接收到的site_guide_id进行转码到页面显示 * @param num site_guide_id * @return 转码后的字符串 */ public static String encodeShowId(Long num){ System.out.println(" 加密的 === num : "+num); int a = 510; int b = 3转载 2014-04-19 13:36:07 · 486 阅读 · 0 评论 -
关于struts2的跳转取id的方法
@Results({ @Result(name = IndexAction.SUCCESS, type = "redirectAction", location = "word", params = {"namespace", "/site/message/word", "mid" , "${mid}"}) }) public class ToggleTopAction原创 2014-04-11 14:59:17 · 508 阅读 · 0 评论