`
红袖添香夜半读
  • 浏览: 16760 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
问题描述: 前台页面 <input type="button" class="inputbutton" id="btnlogin" value="登录" /> show.js: $("#btnlogin").click(function(){ $.ajax( { url : "LoginAction", type:"post", dataType:"json", ...
问题描述: <aop:config proxy-target-class="false"> <aop:pointcut expression="execution(* test.service.impl.User*.sendxinxi(..))" id="checklogin" /> <aop:advisor advice-ref="txAdvice" pointcut-ref="checklogin" /> <aop ...
问题描述: Action中有某一属性,并设有响应的getter/setter方法,前台提交中文数据时Action接收乱码。 解决方案: 在struts.xml中加入 <constant name="struts.i18n.encoding" value="UTF-8"></constant> 然后打开tomcat目录下conf文件夹下的server.xml文件,找到 <Connector port="8080" protocol="HTTP/1.1" ...
今天在做毕业设计遇到的问题:如标题 代码如下: <%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %> <%@taglib prefix="s" uri="/struts-tags"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transiti ...
最近在做毕业设计,其中包含了好友关系的设计,经过几天的请教和查资料,终于有了个半成品的好友关系! 废话不多说,直接上代码: public class User { private int id; private String username; private String name; private Set<User> friends = new HashSet<User>(); private Set<User> parent = new HashSet<User>(); getter/set ...
Global site tag (gtag.js) - Google Analytics